Help / WLanguage / WLanguage functions / Standard functions / Process management functions / Threads, semaphores, signals and mutex
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
ConstantDescriptionUsed by the functions
DestructionWithoutModificationBy 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
InfiniteEndless waitThreadWait, ThreadStop,
ThreadWaitSignal, SemaphoreStart
shareNoneThe 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,
shareGlobalThe event, the semaphore or the mutex is shared among all the applications found on the computer.SemaphoreCreate, EventCreate,
shareUserThe event, the semaphore or the mutex is shared among all the applications of the session of the user who runs the application.SemaphoreCreate, EventCreate,
PriorityLowThread with low priority.ThreadPriority
PriorityHighThread with high priority.ThreadPriority
PriorityNormalThread with normal priority.ThreadPriority
eventAutomaticOnce opened, the event is automatically closed when all the threads are unlocked.EventCreate
eventCloseThe event is closed.EventCreate, EventChange
eventOpenThe event is opened.EventCreate, EventChange
eventOpenAndCloseOpens the event, unlocks all the pending threads and closes the event.EventChange
eventManualThe event is modified by EventChange.EventCreate
threadStopRequestedThread status: A stop request has been made for this thread. ThreadState,
Thread type
threadWaitForStartMode for starting the thread: Waits for the actual start of the thread before continuing the execution.ThreadExecute,
Thread type
threadAutoAutomatic management of threads.ThreadMode
threadGlobalContextMode 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.
Thread type
threadRunningThe thread is running.ThreadState,
Thread type
threadUnknownThe thread was not created or it was destroyed.ThreadState
threadMonoProcessorForces the application to run on a single processor on the multiprocessor, hyperthread or dual core computers.ThreadMode
threadMultiProcessorRestores the standard use of processors on the multiprocessor, hyperthread or dual core computers.ThreadMode
threadNotExecutedStart the thread in normal mode.Thread type
threadNormalStart the thread in normal mode.ThreadExecute
threadMainHandles the main thread.ThreadStop,
Thread type
threadCriticalSectionManual management of critical sections.ThreadMode
threadSecureStarts a secondary thread in secure mode.ThreadExecute,
Thread type
threadSuspendedThe thread is suspended.ThreadState
Thread type
threadEndedThe thread is ended.Thread type
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.
Thread type
threadLightCopyHFSQLContextTriggers 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.
Thread type
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help