aboutsummaryrefslogtreecommitdiff
path: root/dep/src/zthread/RecursiveMutexImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/src/zthread/RecursiveMutexImpl.h')
-rw-r--r--dep/src/zthread/RecursiveMutexImpl.h26
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