ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process functions / Parallel tasks
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The following constants are used by the functions for managing parallel tasks:
ConstantDescriptionUsed by the functions
ptoDelayedCopyHFSQLContextTriggers a light copy of HFSQL context during the first access to the HFSQL data.Description of ParallelTask, variable of type ParallelTask,
ParallelTaskExecute,
ParallelTaskExecuteAfter,
ParallelTaskExecuteAfterAll
ParallelTaskExecuteAfterOne
ptoFullCopyHFSQLContextTriggers the immediate copy of the current HFSQL context.
Recommended, for example, if the parallel task must take into account the current positions in the files and queries of the context of the caller.
Description of ParallelTask, variable of type ParallelTask,
ParallelTaskExecute,
ParallelTaskExecuteAfter,
ParallelTaskExecuteAfterAll
ParallelTaskExecuteAfterOne
ptoLightCopyHFSQLContextTriggers the immediate copy of a part of the current HFSQL context.
Only the directories containing the data files in HFSQL Classic mode and/or the connections in HFSQL Client/Server mode are stored.
Description of ParallelTask, variable of type ParallelTask,
ParallelTaskExecute,
ParallelTaskExecuteAfter,
ParallelTaskExecuteAfterAll
ParallelTaskExecuteAfterOne
ptoMainThreadRuns the task in the main thread.
Caution: This constant cannot be used to run a parallel task in the main thread from the main thread.
Description of ParallelTask, variable of type ParallelTask,
ParallelTaskExecute,
ParallelTaskExecuteAfter,
ParallelTaskExecuteAfterAll
ParallelTaskExecuteAfterOne
ptpMaximumNumberThreadMaximum number of threads that can be run at the same time.ParallelTaskConfigure
ptsCanceledStatus of parallel task: The parallel task is canceled (ParallelTaskCancel).ParallelTask variable
ptsCancellationRequestedStatus of parallel task: A cancellation request was performed on the parallel task (ParallelTaskRequestCancellation).ParallelTask variable
ptsCompletedStatus of parallel task: The parallel task is ended.ParallelTask variable
ptsExecutionInProgressStatus of parallel task: The parallel task is currently run.ParallelTask variable
ptsNotScheduledStatus of parallel task: The parallel task is not scheduled.ParallelTask variable
ptsWaitingExecutionStatus of parallel task: The parallel task is waiting to be run.ParallelTask variable
ptsWaitingPreviousStatus of parallel task: The parallel task waits for the execution of a previous parallel task.ParallelTask variable
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/10/2023

Send a report | Local help