|
D.15.22.6 startTasks
Procedure from library tasks.lib (see tasks_lib).
- Usage:
- startTasks(t1, t2, ...), t1, t2, ... tasks
- Return:
- nothing. Starts the tasks t1, t2, ... and sets their states to
'started'.
- Note:
- A task whose state is neither 'created' nor 'stopped' cannot be
started.
If startTasks() is applied to a task whose state is 'stopped', then
the computation of this task will be restarted from the beginning.
Tasks can be started from within other tasks. A started task should
not be accessed from within any task other than the one within which
it was started.
For each task, the start of its computation is subject to the
internal scheduling.
Example:
See also:
createTask;
getState;
pollTask;
printTask;
stopTask;
waitTasks.
|