diff options
author | megamage <none@none> | 2009-02-17 21:54:48 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-17 21:54:48 -0600 |
commit | 89ba43ef3e3f8d4b563c9e8efaf06bf7f7b44065 (patch) | |
tree | fbe73c4d529f195d51b8ca4b62be8443da80becf /dep/src/zthread/RecursiveMutex.cxx | |
parent | be53cfe1044d7e913c4c11a7245e2d2846826363 (diff) | |
parent | 3931b802f1b8b890a615e5b2a4c0ed70407468d7 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'dep/src/zthread/RecursiveMutex.cxx')
-rw-r--r-- | dep/src/zthread/RecursiveMutex.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dep/src/zthread/RecursiveMutex.cxx b/dep/src/zthread/RecursiveMutex.cxx index 57994f55b81..ad029488725 100644 --- a/dep/src/zthread/RecursiveMutex.cxx +++ b/dep/src/zthread/RecursiveMutex.cxx @@ -26,14 +26,14 @@ namespace ZThread { RecursiveMutex::RecursiveMutex() { - + _impl = new RecursiveMutexImpl(); - + } RecursiveMutex::~RecursiveMutex() { - if(_impl != (RecursiveMutexImpl*)0 ) + if(_impl != (RecursiveMutexImpl*)0 ) delete _impl; } @@ -41,20 +41,20 @@ namespace ZThread { void RecursiveMutex::acquire() { - _impl->acquire(); + _impl->acquire(); } bool RecursiveMutex::tryAcquire(unsigned long ms) { - return _impl->tryAcquire(ms); + return _impl->tryAcquire(ms); } void RecursiveMutex::release() { - _impl->release(); + _impl->release(); } |