|
blocxx
|
#include <Semaphore.hpp>
Public Member Functions | |
| Semaphore () | |
| Semaphore (Int32 initCount) | |
| void | wait () |
| BLOCXX_DEPRECATED bool | timedWait (UInt32 sTimeout, UInt32 usTimeout=0) |
| bool | timedWait (const Timeout &timeout) |
| 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 51 of file Semaphore.hpp.
|
inline |
Definition at line 54 of file Semaphore.hpp.
|
inline |
Definition at line 57 of file Semaphore.hpp.
|
inline |
Definition at line 94 of file Semaphore.hpp.
References m_curCount, m_mutex, and BLOCXX_NAMESPACE::operator==().
|
inline |
Definition at line 88 of file Semaphore.hpp.
References m_cond, m_curCount, m_mutex, BLOCXX_NAMESPACE::Condition::notifyAll(), and BLOCXX_NAMESPACE::operator==().
Definition at line 73 of file Semaphore.hpp.
References m_cond, m_curCount, m_mutex, BLOCXX_NAMESPACE::operator==(), and BLOCXX_NAMESPACE::Condition::timedWait().
|
inline |
Definition at line 69 of file Semaphore.hpp.
References BLOCXX_NAMESPACE::operator==(), BLOCXX_NAMESPACE::Timeout::relative(), and timedWait().
Referenced by timedWait().
|
inline |
Definition at line 60 of file Semaphore.hpp.
References m_cond, m_curCount, m_mutex, BLOCXX_NAMESPACE::operator==(), and BLOCXX_NAMESPACE::Condition::wait().
|
private |
Definition at line 101 of file Semaphore.hpp.
Referenced by signal(), timedWait(), and wait().
|
private |
Definition at line 100 of file Semaphore.hpp.
Referenced by getCount(), signal(), timedWait(), and wait().
|
private |
Definition at line 102 of file Semaphore.hpp.
Referenced by getCount(), signal(), timedWait(), and wait().