|
D.15.22.2 killTask
Procedure from library tasks.lib (see tasks_lib).
- Usage:
- killTask(t), t task
- Return:
- nothing. If the state of t is 'started', then t is stopped first. The
internal data structures of t are erased and its state is set to
'uninitialized'.
- Note:
- 'killTask(t);' is not the same as 'kill t;'. The latter command does
not erase the internal data structures of t. Hence killTask() should
be called for any no longer needed task in order to free memory.
Example:
See also:
createTask;
getState;
printTask;
stopTask.
|