OpenDOF Project
DOF_PCR_DECLSPEC PCRStatus PCRSemaphore_Signal ( PCRSemaphore  sem)

Signal a semaphore.

This will wake up at most one thread waiting on the semaphore. If no threads are waiting, the signal is retained until the next call to PCRSemaphore_Wait.

The semaphore must be a valid PCRSemaphore.

Parameters
semSemaphore to signal. Must not be NULL.
Return values
PCRSTATUS_OKif the semaphore was successfully signaled.
PCRSTATUS_ERRORif the semaphore could not be signaled (e.g., it would cause an internal overflow of the signal count).
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22