|
|
|
|
Thread management constants
| | | Constant | Description | Used by the functions |
---|
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 | Infinite | Endless wait | ThreadWait, ThreadStop, ThreadWaitSignal, SemaphoreStart MutexStart | 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 | shareGlobal | The event, the semaphore or the mutex is shared among all the applications found on the computer. | 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 | PriorityLow | Thread with low priority. | ThreadPriority | PriorityHigh | Thread with high priority. | ThreadPriority | PriorityNormal | Thread with normal priority. | ThreadPriority | eventAutomatic | Once opened, the event is automatically closed when all the threads are unlocked. | EventCreate | eventClose | The event is closed. | EventCreate, EventChange | eventOpen | The event is opened. | EventCreate, EventChange | eventOpenAndClose | Opens the event, unlocks all the pending threads and closes the event. | EventChange | eventManual | The event is modified by EventChange. | EventCreate | threadStopRequested | Thread status: A stop request has been made for this thread. | ThreadState, Thread type | threadWaitForStart | Mode for starting the thread: Waits for the actual start of the thread before continuing the execution. | ThreadExecute, Thread type | threadAuto | Automatic management of threads. | ThreadMode | 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, Thread type | threadRunning | The thread is running. | ThreadState, Thread type | threadUnknown | The thread was not created or it was destroyed. | ThreadState | 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 | threadNotExecuted | Start the thread in normal mode. | Thread type | threadNormal | Start the thread in normal mode. | ThreadExecute | threadMain | Handles the main thread. | ThreadStop, ThreadSendSignal, Thread type | threadCriticalSection | Manual management of critical sections. | ThreadMode | threadSecure | Starts a secondary thread in secure mode. | ThreadExecute, Thread type | threadSuspended | The thread is suspended. | ThreadState Thread type | threadEnded | The thread is ended. | Thread type | threadUseHyperFile threadUseHFSQL 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, Thread type | 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, Thread type |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|