void vortex_semaphore_down_n VortexSemaphore sem,
gint  times
 

Reduces the internal semaphore state.

Decrease times the semaphore state. This function is somewhat especial because it will not block the caller the sem goes down 0. If you want to get blocked if semaphore goes under 0 you must call vortex_semaphore_wait after calling this function.

Parameters:
sem the semaphore to operate
times how many times to down the semaphore