PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ParallelTaskRequestCancelation (Function)
In French: TâcheParallèleDemandeAnnulation
Requests the cancelation of a parallel task.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 23 and later
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 23
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Example
// Triggers the execution of a task
t is ParallelTask = ParallelTaskExecute(Proc)
...
// Cancels the execution of the task
ParallelTaskRequestCancelation(t)
Syntax

Requesting the cancelation of a parallel task Hide the details

ParallelTaskRequestCancelation(<Task>)
<Task>: ParallelTask variable
Name of ParallelTask variable to use.

Requesting the cancelation of parallel tasks found in an array Hide the details

ParallelTaskRequestCancelation(<Array of Tasks>)
<Array of Tasks>: Array of ParallelTask variables
Name of array of ParallelTask variables to use.
Remarks
  • A cancelation request is transmitted to the task. The code of the task must manage the cancelation request via the following syntax:
    MyParallelTask..Canceled
  • The call to ParallelTaskRequestCancelation is a non-locking call. The task is considered as being canceled as soon as the function is called.
  • The task is flagged as ptsCancelationRequested. Any call to ..ReturnedValue will trigger a fatal error.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment