| | |
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 |
New in version 2025thpConnectedDevice | Use case: Interaction with connected devices. | ThreadPersistent |
New in version 2025thpCamera | Use case: background camera access. | ThreadPersistent |
New in version 2025thpLocation | Use cases: Operations requiring location access, such as navigation and location sharing. | ThreadPersistent |
New in version 2025thpMediaPlayback | Use: Continuous playback of music or video in the background. | ThreadPersistent |
New in version 2025thpMicrophone | Use: Background audio recording. | ThreadPersistent |
New in version 2025thpHealth | Use case: physical activity monitoring. | ThreadPersistent |
New in version 2025thpShortService | Use case: Critical operation that must be completed without interruption. | ThreadPersistent |
New in version 2025thpDataSync | Use case: Data synchronization. | ThreadPersistent |
New in version 2025thpSpecialUse | Use case: an operation whose use case does not correspond to any of the predefined cases. | ThreadPersistent |
threadStopRequested | Thread status: Stop has been requested for this thread. | ThreadState, Thread type |
threadWaitForStart | Thread start mode: Waits for the thread to start before continuing execution. | ThreadExecute, Thread type |
threadAuto | Automatic management of threads. | ThreadMode |
threadGlobalContext | Thread launch mode: forces use of global project context if 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 |