![]() |
Public Member Functions | |
virtual Error | wait () |
wait until semaphore has positive value, then decrement and pass | |
virtual Error | post () |
unlock the semaphore, incrementing the value | |
virtual int | get () const |
get semaphore value | |
Static Public Member Functions | |
static void | make_default () |
get semaphore value | |
![]() | |
static Semaphore * | create () |
Create a mutex. | |
Additional Inherited Members | |
![]() | |
static Semaphore *(* | create_func )() |