Releases a single unit to a specified semaphore. If threads are waiting at the semaphore, the thread at the head of the queue is awakened and given the unit.
Warning: If this function is invoked on a semaphore that contains the maximum of 65,535 units, the number of units in the semaphore is not incremented, and the results will be unpredictable.
VOID knReleaseRtSemaphore(
    KNHANDLE hSemaphore    // handle for low-level semaphore
);
hSemaphore 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |