SignalSemaphore()

Syntax

SignalSemaphore(Semaphore)
Description
Increases the internal count of the semaphore by one, releasing a waiting thread if there is one.

Note: The semaphore count is limited to a signed 32bit value, so a maximum of 2147483647 SignalSemaphore() calls can be made without being balanced by WaitSemaphore() calls inbetween.

See CreateSemaphore() for a code example.

Supported OS

All

<- ResumeThread() - Thread Index - ThreadID() ->