#include <OW_Semaphore.hpp>
Collaboration diagram for OW_NAMESPACE::Semaphore:
Public Member Functions | |
Semaphore () | |
Semaphore (Int32 initCount) | |
void | wait () |
bool | timedWait (UInt32 sTimeout, UInt32 usTimeout=0) |
void | signal () |
Int32 | getCount () |
Private Member Functions | |
Semaphore (const Semaphore &) | |
Semaphore & | operator= (const Semaphore &) |
Private Attributes | |
Int32 | m_curCount |
Condition | m_cond |
NonRecursiveMutex | m_mutex |
Definition at line 46 of file OW_Semaphore.hpp.
|
Definition at line 49 of file OW_Semaphore.hpp. |
|
Definition at line 52 of file OW_Semaphore.hpp. |
|
|
|
Definition at line 84 of file OW_Semaphore.hpp. References m_curCount, and m_mutex. |
|
|
|
Definition at line 78 of file OW_Semaphore.hpp. References m_cond, m_curCount, m_mutex, and OW_NAMESPACE::Condition::notifyAll(). |
|
Definition at line 64 of file OW_Semaphore.hpp. References m_cond, m_curCount, m_mutex, and OW_NAMESPACE::Condition::timedWait(). |
|
Definition at line 55 of file OW_Semaphore.hpp. References m_cond, m_curCount, m_mutex, and OW_NAMESPACE::Condition::wait(). |
|
Definition at line 91 of file OW_Semaphore.hpp. Referenced by signal(), timedWait(), and wait(). |
|
Definition at line 90 of file OW_Semaphore.hpp. Referenced by getCount(), signal(), timedWait(), and wait(). |
|
Definition at line 92 of file OW_Semaphore.hpp. Referenced by getCount(), signal(), timedWait(), and wait(). |