SignalSemaphore()

语法

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

参数

Semaphore The semaphore to signal.

返回值

无.

Remarks

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

See CreateSemaphore() for a code example.

已支持操作系统

所有

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