53 #define STD_SHARED_PTR std::tr1::shared_ptr 56 #define STD_SHARED_PTR std::shared_ptr 118 pthread_mutex_t &
Mutex();
121 pthread_mutex_t _mutex;
124 STD_SHARED_PTR<Wrapper> _mutex;
131 #endif // _DWMMUTEX_HH_ bool Unlock()
Unlock the mutex. Returns true on success.
This class just encapsulates a condition variable (from the pthread library), with default attributes...
Definition: DwmConditionVariable.hh:59
bool TryLock()
Try to lock the mutex, without blocking.
Mutex & operator=(const Mutex &mutex)
operator =
Definition: DwmBZ2IO.hh:67
bool Lock()
Lock the mutex.
~Mutex()
Constructor. Destroys the mutex.
Mutex()
Constructor. Initializes the mutex.
This class just encapsulates a pthread_mutex_t (from the pthread library).
Definition: DwmMutex.hh:67
A configure target for dealing with OS differences.