diff options
Diffstat (limited to 'cpp/include/IceUtil/RecMutex.h')
-rw-r--r-- | cpp/include/IceUtil/RecMutex.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/IceUtil/RecMutex.h b/cpp/include/IceUtil/RecMutex.h index 2aae35187ff..11b8b2474e6 100644 --- a/cpp/include/IceUtil/RecMutex.h +++ b/cpp/include/IceUtil/RecMutex.h @@ -44,7 +44,7 @@ public: // Note that lock/tryLock & unlock in general should not be used // directly. Instead use Lock & TryLock. // - + void lock() const; // @@ -53,15 +53,15 @@ public: // bool tryLock() const; - + void unlock() const; // // Returns true if the mutex will unlock when calling unlock() // (false otherwise). For non-recursive mutexes, this will always - // return true. - // This function is used by the Monitor implementation to know whether - // the Mutex has been locked for the first time, or unlocked for the + // return true. + // This function is used by the Monitor implementation to know whether + // the Mutex has been locked for the first time, or unlocked for the // last time (that is another thread is able to acquire the mutex). // Pre-condition: the mutex must be locked. // @@ -103,7 +103,7 @@ private: mutable CRITICAL_SECTION _mutex; #else mutable pthread_mutex_t _mutex; -#endif +#endif mutable int _count; }; |