Skip to content

TSempahoreInitHandler

Function prototype for initializing a semaphore

Declaration

Source position: threadh.inc line 65

Type
TSempahoreInitHandler = function : Pointer

Description

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.