Function prototype for initializing a semaphore.
Source position: threadh.inc line 65
type TSempahoreInitHandler = function: Pointer; |
TSempahoreInitHandler is the function prototype for initializing a semaphore. It is used by the thread manager (ThreadManager.SemaphoreInit) to create semaphores. The function should return a pointer, usable by the other semaphore functions of the thread manager.