ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process functions / Parallel tasks
  • Properties specific to the description of Description of ParallelTask variables
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
Description of ParallelTask (Type of variable)
In french: Description de TâcheParallèle
The Description of ParallelTask type is used to define the characteristics of a parallel task. The characteristics of this task can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
d is Description of ParallelTask
d.Procédure = ProcedureToRun
d.Option = ptoLightCopyHFSQLContext
ParallelTaskExecute(d)
Remarks

Properties specific to the description of Description of ParallelTask variables

The following properties can be used to handle a Description of ParallelTask:
Property nameType usedEffect
OptionInteger constantOptions of the task:
  • ptoLightCopyHFSQLContext: Performs a light copy of the current HFSQL context when requesting the execution of the task.
    Only the directories containing the data files in HFSQL Classic mode and/or the connections in HFSQL Client/Server mode are stored.
  • ptoFullCopyHFSQLContext: Performs a full copy of the current HFSQL context when requesting the execution of the task.
    Recommended if the task must take into account the current positions in the files and queries of caller context.
  • ptoDelayedCopyHFSQLContext (default value): Performs a light copy of HFSQL context during the first access to the HFSQL data.
  • ptoMainThread: Runs the task in the main thread.
ParameterArray of variantsArray containing the parameters of the task.
ProcedureProcedure or character stringProcedure to run during the execution of the parallel task. This property can correspond to:
  • a character string corresponding to the name of a WLanguage procedure.
  • a variable of type Procedure.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/10/2022

Send a report | Local help