win32event.CreateSemaphore

PyHANDLE = CreateSemaphore(initialCount, semaphoreName , bManualReset )

Creates a Semaphore

Parameters

initialCount : int

initial count

semaphoreName : PyIUnicode

semaphore-object name, or None

bManualReset : int

flag for manual reset state

Return Value

The result is a handle to the created object