void vortex_semaphore_wait VortexSemaphore sem  ) 
 

Blocks the caller until the semaphore gets into a positive value.

Calling this function will block if semaphore state is equal to or less than 0. Once the semaphore becomes to a positive state, that is, over 0, the caller will be unblocked

Parameters:
sem the semaphore to operate on