21 #ifndef INCLUDE_OLA_THREAD_MUTEX_H_
22 #define INCLUDE_OLA_THREAD_MUTEX_H_
25 #include <ola/Clock.h>
47 pthread_mutex_t m_mutex;
66 bool m_requires_unlock;
87 pthread_cond_t m_condition;
93 #endif // INCLUDE_OLA_THREAD_MUTEX_H_
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
void Lock()
Definition: Mutex.cpp:46
void Unlock()
Definition: Mutex.cpp:64
void Wait(Mutex *mutex)
Definition: Mutex.cpp:112
bool TryLock()
Definition: Mutex.cpp:55
MutexLocker(Mutex *mutex)
Definition: Mutex.cpp:72
~MutexLocker()
Definition: Mutex.cpp:81
void Signal()
Definition: Mutex.cpp:136
~ConditionVariable()
Definition: Mutex.cpp:103
bool TimedWait(Mutex *mutex, const ola::TimeStamp &wake_up_time)
Definition: Mutex.cpp:123
ConditionVariable()
Definition: Mutex.cpp:95
~Mutex()
Definition: Mutex.cpp:38
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
void Broadcast()
Definition: Mutex.cpp:144
Mutex()
Definition: Mutex.cpp:30