#include <oscl_semaphore.h>
Public Methods | |
OSCL_IMPORT_REF | OsclSemaphore () |
OSCL_IMPORT_REF | ~OsclSemaphore () |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | Create (uint32 initVal=0) |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | Close () |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | Wait () |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | Wait (uint32 timeout_msec) |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | TryWait () |
OSCL_IMPORT_REF OsclProcStatus::eOsclProcError | Signal () |
|
Class constructor |
|
Class destructor |
|
Closes the Semaphore
|
|
Creates the Semaphore
|
|
Signals that the thread is finished with the Semaphore
|
|
Try to acquire semaphore ,if the semaphore is already acquired by another thread, calling thread immediately returns with out blocking
|
|
Makes the thread to wait on the Semaphore, with a timeout.
|
|
Makes the thread to wait on the Semaphore
|