VortexSemaphore* vortex_semaphore_new  ) 
 

Creates an new VortexSemaphore.

This structure is mainly used to synchronize the vortex sequencer process and the vortex writer process. This behaves pretty much like the posix semaphores but builded using glib mutex, conditional plus an state value.

Returns:
the new semaphore