|
|
|
|
ParallelTaskRequestCancellation (Function) In french: TâcheParallèleDemandeAnnulation
Warning
From version 28, ParallelTaskRequestCancelation is kept for backward compatibility. This function is replaced by ParallelTaskRequestCancellation.
Requests the cancellation of a parallel task.
// Triggers the execution of a task t is ParallelTask = ParallelTaskExecute(Proc) ... // Cancels the execution of the task ParallelTaskRequestCancellation(t) Syntax
Requesting the cancellation of a parallel task Hide the details
ParallelTaskRequestCancellation(<Task>)
<Task>: ParallelTask variable Name of the ParallelTask variable to be used.
Requesting the cancellation of parallel tasks found in an array Hide the details
ParallelTaskRequestCancellation(<Array of tasks>)
<Array of tasks>: Array of ParallelTask variables Name of the array of ParallelTask variables to be used. Remarks - A cancellation request is transmitted to the task. The code of the task must manage the cancellation request via the following syntax:
- The call to ParallelTaskRequestCancellation is non-blocking. The task is considered canceled when the function is called.
- The task is flagged as ptsCancellationRequested. Any call to the ReturnedValue property will trigger a fatal error.
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|