![]() |
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 Public Member Functions inherited from Semaphore | |
| static Semaphore * | create () |
| Create a mutex. | |
Additional Inherited Members | |
Static Protected Attributes inherited from Semaphore | |
| static Semaphore *(* | create_func )() |
1.8.11