Motr
M0
|
Go to the source code of this file.
Macros | |
#define | __MOTR_LIB_SEMAPHORE_H__ |
Functions | |
M0_INTERNAL int | m0_semaphore_init (struct m0_semaphore *semaphore, unsigned value) |
M0_INTERNAL void | m0_semaphore_fini (struct m0_semaphore *semaphore) |
M0_INTERNAL void | m0_semaphore_down (struct m0_semaphore *semaphore) |
M0_INTERNAL void | m0_semaphore_up (struct m0_semaphore *semaphore) |
M0_INTERNAL bool | m0_semaphore_trydown (struct m0_semaphore *semaphore) |
M0_INTERNAL void | m0_semaphore_drain (struct m0_semaphore *semaphore) |
M0_INTERNAL unsigned | m0_semaphore_value (struct m0_semaphore *semaphore) |
M0_INTERNAL bool | m0_semaphore_timeddown (struct m0_semaphore *semaphore, const m0_time_t abs_timeout) |
#define __MOTR_LIB_SEMAPHORE_H__ |
Definition at line 26 of file semaphore.h.