Changeset 15 in flair-src for trunk/lib/FlairCore/src/Mutex.cpp
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Mutex.cpp
r2 r15 21 21 using std::string; 22 22 23 namespace flair 24 { 25 namespace core 26 { 23 namespace flair { 24 namespace core { 27 25 28 Mutex::Mutex(const Object *parent, string name): Object(parent, name,"mutex")29 {30 pimpl_=new Mutex_impl(this);26 Mutex::Mutex(const Object *parent, string name) 27 : Object(parent, name, "mutex") { 28 pimpl_ = new Mutex_impl(this); 31 29 } 32 30 33 Mutex::~Mutex() 34 { 35 delete pimpl_; 36 } 31 Mutex::~Mutex() { delete pimpl_; } 37 32 38 void Mutex::GetMutex(void) const 39 { 40 pimpl_->GetMutex(); 41 } 33 void Mutex::GetMutex(void) const { pimpl_->GetMutex(); } 42 34 43 void Mutex::ReleaseMutex(void) const 44 { 45 pimpl_->ReleaseMutex(); 46 } 35 void Mutex::ReleaseMutex(void) const { pimpl_->ReleaseMutex(); } 47 36 48 37 /*
Note:
See TracChangeset
for help on using the changeset viewer.