|
D.15.22.7 stopTask
Procedure from library tasks.lib (see tasks_lib).
- Usage:
- stopTask(t), t task
- Return:
- nothing. Stops the t and sets its state to 'stopped'.
- Note:
- A task whose state is not 'started' cannot be stopped.
Intermediate results are discarded when a task is stopped.
killTask() should be called for any no longer needed task.
Example:
See also:
getState;
killTask;
pollTask;
printTask;
startTasks;
waitTasks.
|