cf_sem_value¶
Category: multithreading
GitHub: cute_multithreading.h
Atomically fetches the semaphore's counter.
| Parameters | Description |
|---|---|
| semaphore | The semaphore. |
Return Value¶
Returns any errors upon failure.
Related Pages¶
CF_Semaphore
cf_make_sem
cf_destroy_sem
cf_sem_post
cf_sem_try
cf_sem_wait