NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ExitTo ( task  newTask)
inline

Exit to another task.

Immediately exit the current task and start executing the specified task.

Parameters
newTaskThe task to start executing after exiting the current task.
Examples:
alternating_tasks.nxc.