20 #ifndef _KINETIC_SEMAPHORE_H
21 #define _KINETIC_SEMAPHORE_H
25 typedef struct _KineticSemaphore KineticSemaphore;
75 #endif // _KINETIC_SEMAPHORE_H
bool KineticSemaphore_DestroyIfSignaled(KineticSemaphore *sem)
Destorys the KineticSemaphore if it has been signaled.
void KineticSemaphore_WaitForSignalAndDestroy(KineticSemaphore *sem)
Blocks until the given semaphore is signaled.
bool KineticSemaphore_CheckSignaled(KineticSemaphore *sem)
Reports whether the KineticSemaphore has been signaled.
void KineticSemaphore_Signal(KineticSemaphore *sem)
Signals KineticSemaphore.
KineticSemaphore * KineticSemaphore_Create(void)
Creates a KineticSemaphore.