![]() |
Header for ROBOTC glue functions. More...
Go to the source code of this file.
Macros | |
| #define | StartTask(pf,...) StartTaskWithPriority( pf, ##__VA_ARGS__, NORMALPRIO ) |
| Macro to simulate the ROBOTC StartTask function. More... | |
| #define | wait1Msec(ms) vexSleep(ms) |
| delay compatibility shortcut More... | |
Typedefs | |
| typedef msg_t | task |
| ROBOTC "tasks" return type task. More... | |
Functions | |
| Thread * | StartTaskWithPriority (tfunc_t pf, tprio_t priority,...) |
| Start a task with a given priority. More... | |
| void | StopTask (tfunc_t pf) |
| Stop a task. More... | |
Header for ROBOTC glue functions.
| #define StartTask | ( | pf, | |
| ... | |||
| ) | StartTaskWithPriority( pf, ##__VA_ARGS__, NORMALPRIO ) |
Macro to simulate the ROBOTC StartTask function.
| typedef msg_t task |
ROBOTC "tasks" return type task.
| Thread* StartTaskWithPriority | ( | tfunc_t | pf, |
| tprio_t | priority, | ||
| ... | |||
| ) |
Start a task with a given priority.
| [in] | pf | The thread function |
| [in] | priority | The thread priority |
| void StopTask | ( | tfunc_t | pf) |
Stop a task.
| [in] | pf | The thread function |