VortexSemaphore: Thread Safe Semaphore used inside Vortex Library.


Functions

void vortex_semaphore_destroy (VortexSemaphore *sem)
 Destroy the given semaphore.
void vortex_semaphore_down_n (VortexSemaphore *sem, gint times)
 Reduces the internal semaphore state.
gint vortex_semaphore_get_status (VortexSemaphore *sem)
 Gets the current semaphore status.
VortexSemaphorevortex_semaphore_new ()
 Creates an new VortexSemaphore.
void vortex_semaphore_up (VortexSemaphore *sem)
 Increases the internal semaphore state.
void vortex_semaphore_wait (VortexSemaphore *sem)
 Blocks the caller until the semaphore gets into a positive value.