diff options
author | megamage <none@none> | 2009-02-12 17:09:15 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-12 17:09:15 -0600 |
commit | 6aee5fcbe7473a3cbac12b7e8482a7b98bef8be3 (patch) | |
tree | 91ec91d5c19eba9c2fe0e84b1c9dc7047a3de80e /dep/src/zthread/RecursiveMutexImpl.h | |
parent | 2d2f433b4de1c35b22aaf07854fc0ee11fcb350d (diff) | |
parent | f385747164c3fb278c92ef46fbd6c3da6590bbf0 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'dep/src/zthread/RecursiveMutexImpl.h')
-rw-r--r-- | dep/src/zthread/RecursiveMutexImpl.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/dep/src/zthread/RecursiveMutexImpl.h b/dep/src/zthread/RecursiveMutexImpl.h index 9e1ae050c5b..1e477136f52 100644 --- a/dep/src/zthread/RecursiveMutexImpl.h +++ b/dep/src/zthread/RecursiveMutexImpl.h @@ -39,14 +39,14 @@ namespace ZThread { * @date <2003-07-16T19:58:26-0400> * @version 2.1.6 * - * This synchronization object provides serialized access - * through an acquire/release protocol. + * This synchronization object provides serialized access + * through an acquire/release protocol. */ class ZTHREAD_API RecursiveMutexImpl { - - typedef std::vector<Monitor*> List; - //! List of Events that are waiting for notification + typedef std::vector<Monitor*> List; + + //! List of Events that are waiting for notification List _waiters; //! Serialize access to this Mutex @@ -55,24 +55,24 @@ namespace ZThread { //! Current owning Event object Monitor* _owner; - //! Entry count + //! Entry count size_t _count; public: - - RecursiveMutexImpl(); + + RecursiveMutexImpl(); virtual ~RecursiveMutexImpl(); - + void acquire(); - + bool tryAcquire(unsigned long); - - void release(); + + void release(); }; /* RecursiveMutexImpl */ -}; +}; #endif |