Real-Time Function Tasks
The C166 Compiler provides support for the AR166 Advanced RTOS, the RTX166 Full, and RTX166 Tiny real-time multitasking operating systems. Through use of the _task_ keyword, you may define a function as a real-time task. For example:
void func (void) _task_ task_num
Where
| task_num | is a task ID number in the range 0-255 for RTX166 Full or 0-31 for RTX166 Tiny. |
Task functions must be declared with a void return type and a void argument list.