| | |
Constant | Description | Used by the functions |
---|
Versions 17 and laterDestructionWithoutModification New in version 17DestructionWithoutModification DestructionWithoutModification | By default, an event is automatically modified during its destruction. If the event is created with this constant, it will not be modified during the call to EventDestroy or during the automatic destruction of the event when closing the application. | EventCreate |
eventAutomatic | Once opened, the event is automatically closed when all the threads are unlocked. | EventCreate |
eventClose | The event is closed. | EventCreate, EventChange |
eventManual | The event is modified by EventChange. | EventCreate |
eventOpen | The event is opened. | EventCreate, EventChange |
eventOpenAndClose | Opens the event, unlocks all the pending threads and closes the event. | EventChange |
Infinite | Endless wait | ThreadWait, ThreadStop, ThreadWaitSignal, SemaphoreStart MutexStart |
PriorityHigh | Thread with high priority. | ThreadPriority |
PriorityLow | Thread with low priority. | ThreadPriority |
PriorityNormal | Thread with normal priority. | ThreadPriority |
shareGlobal | The event, the semaphore or the mutex is shared among all the applications found on the computer. | SemaphoreCreate, EventCreate, MutexCreate |
shareNone | The event, the semaphore or the mutex is specific to the application. If EventDestroy, SemaphoreDestroy or MutexDestroy are not called, the event, semaphore or mutex is destroyed at the end of the application. | SemaphoreCreate, EventCreate, MutexCreate |
shareUser | The event, the semaphore or the mutex is shared among all the applications of the session of the user who runs the application. | SemaphoreCreate, EventCreate, MutexCreate |
threadAuto | Automatic management of threads. | ThreadMode |
threadCriticalSection | Manual management of critical sections. | ThreadMode |
Versions 25 and laterthreadEnded New in version 25threadEnded threadEnded | The thread is ended. | Versions 25 and laterThread type Thread type |
Versions 16 and laterthreadGlobalContext New in version 16threadGlobalContext threadGlobalContext | Mode for starting the thread: Forces the use of the global context of the project if the thread is run from a window. The context of the window is used by default. | ThreadExecute,
Versions 25 and laterThread type Thread type |
Versions 20 and laterthreadLightCopyHFSQLContext New in version 20threadLightCopyHFSQLContext threadLightCopyHFSQLContext | Triggers the immediate copy of part of the HFSQL context. Only the directories containing the data files in HFSQL Classic mode and/or the connections in HFSQL Client/Server mode are stored. | ThreadExecute,
Versions 25 and laterThread type Thread type |
threadMain | Handles the main thread. | ThreadStop, ThreadSendSignal,
Versions 25 and laterThread type Thread type |
threadMonoProcessor | Forces the application to run on a single processor on the multiprocessor, hyperthread or dual core computers. | ThreadMode |
threadMultiProcessor | Restores the standard use of processors on the multiprocessor, hyperthread or dual core computers. | ThreadMode |
threadNormal | Start the thread in normal mode. | ThreadExecute |
Versions 25 and laterthreadNotExecuted New in version 25threadNotExecuted threadNotExecuted | Start the thread in normal mode. | Versions 25 and laterThread type Thread type |
threadRunning | The thread is running. | ThreadState,
Versions 25 and laterThread type Thread type |
Versions 25 and laterthreadStopRequested New in version 25threadStopRequested threadStopRequested | Thread status: A stop request has been made for this thread. | ThreadState,
Versions 25 and laterThread type Thread type |
threadSuspended | The thread is suspended. | ThreadState
Versions 25 and laterThread type Thread type |
threadUnknown | The thread was not created or it was destroyed. | ThreadState |
threadUseHyperFile
Versions 19 and laterthreadUseHFSQL New in version 19threadUseHFSQL threadUseHFSQL
Versions 20 and laterthreadFullCopyHFSQLContext New in version 20threadFullCopyHFSQLContext threadFullCopyHFSQLContext | Triggers the immediate copy of the HFSQL context. Recommended if the thread must take into account the current positions in the files and queries of caller context. | ThreadExecute,
Versions 25 and laterThread type Thread type |
Versions 18 and laterthreadWaitForStart New in version 18threadWaitForStart threadWaitForStart | Mode for starting the thread: Waits for the actual start of the thread before continuing the execution. | ThreadExecute,
Versions 25 and laterThread type Thread type |