sipxportlib
Version 3.3
|
#include <OsCSemLinux.h>
Public Member Functions | |
OsCSemLinux (const int queueOptions, const int maxCount) | |
OsCSemLinux (const int queueOptions, const int maxCount, const int initCount) | |
virtual | ~OsCSemLinux () |
virtual OsStatus | acquire (const OsTime &rTimeout=OsTime::OS_INFINITY) |
Block the task until the semaphore is acquired or the timeout expires. More... | |
virtual OsStatus | tryAcquire (void) |
Conditionally acquire the semaphore (i.e., don't block) More... | |
virtual OsStatus | release (void) |
Release the semaphore. More... | |
Public Member Functions inherited from OsSyncBase | |
virtual | ~OsSyncBase () |
Destructor. More... | |
OsSyncBase & | operator= (const OsSyncBase &rhs) |
Assignment operator. More... | |
Additional Inherited Members | |
Public Types inherited from OsCSemBase | |
enum | QueueOptions { Q_FIFO = 0x0, Q_PRIORITY = 0x1 } |
Protected Member Functions inherited from OsCSemBase | |
OsCSemBase (const int queueOptions, const int maxCount, const int initCount) | |
Default constructor. More... | |
virtual | ~OsCSemBase () |
Destructor. More... | |
Protected Member Functions inherited from OsSyncBase | |
OsSyncBase () | |
Default constructor. More... | |
OsCSemLinux | ( | const int | queueOptions, |
const int | maxCount | ||
) |
OsCSemLinux | ( | const int | queueOptions, |
const int | maxCount, | ||
const int | initCount | ||
) |
|
virtual |
|
virtual |
Block the task until the semaphore is acquired or the timeout expires.
Implements OsCSemBase.
|
virtual |
Conditionally acquire the semaphore (i.e., don't block)
Implements OsCSemBase.
|
virtual |
Release the semaphore.
Implements OsCSemBase.