win32event.ReleaseSemaphore

int = ReleaseSemaphore(hEvent, lReleaseCount )

Releases a semaphore.

Parameters

hEvent : PyHANDLE

handle of the semaphore object

lReleaseCount : int

amount to add to current count

Return Value

The result is the previous count of the semaphore.