Typedefs | |
| typedef void * | TASK_parameter |
| The value of this parameter is passed transparently through as the first and only argument to the entry point of the created task. | |
| typedef void *(* | TASK_entry )(TASK_parameter parameter) |
| Defines the call signature of entry point of a created TASK. More... | |
Functions | |
| int | TASK_activate (TASK_tcb *tcb) |
| Activates a previously created task. More... | |
| int | TASK_create (TASK_tcb *tcb, const TASK_attr *attributes, TASK_entry entry_point, TASK_parameter parameter) |
| Creates, but does not activate a task. More... | |
| int | TASK_destroy (TASK_tcb *tcb) |
| Destroys, ie deletes, a previously created task. More... | |
| int | TASK_spawn (TASK_tcb *tcb, const TASK_attr *attributes, TASK_entry entry_point, TASK_parameter parameter) |
| Convenience routine to both create and activate a task. More... | |
|
|
Defines the call signature of entry point of a created TASK.
The entry of a newly created task acts, for intents and purposes as a function call with one argument, a |
|
|
Activates a previously created task.
|
|
||||||||||||||||||||
|
Creates, but does not activate a task.
|
|
|
Destroys, ie deletes, a previously created task.
|
|
||||||||||||||||||||
|
Convenience routine to both create and activate a task.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001