#include <trtsemaphore.h>
Inheritance diagram for trtSemaphore:
Public Member Functions | |
trtSemaphore (int credit=0) | |
~trtSemaphore () | |
void | signal () |
void | wait () |
Private Attributes | |
semaphore_t | ps |
|
Definition at line 14 of file trtsemaphore.cc. References ps, and sem_init(). |
|
Definition at line 19 of file trtsemaphore.cc. |
|
Implements osSemaphore. Definition at line 27 of file trtsemaphore.cc. Referenced by trtMutex::unlock(). |
|
Implements osSemaphore. Definition at line 22 of file trtsemaphore.cc. Referenced by trtMutex::lock(). |
|
Definition at line 27 of file trtsemaphore.h. Referenced by signal(), trtSemaphore(), and wait(). |