NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void Precedes ( task  task1,
task  task2,
  ...,
task  taskN 
)
inline

Declare tasks that this task precedes.

Schedule the listed tasks for execution once the current task has completed executing. The tasks will all execute simultaneously unless other dependencies prevent them from doing so. This statement should be used once within a task - preferably at the start of the task definition. Any number of tasks may be listed in the Precedes statement.

Parameters
task1The first task to start executing after the current task ends.
task2The second task to start executing after the current task ends.
taskNThe last task to start executing after the current task ends.
Examples:
alternating_tasks.nxc, ex_Precedes.nxc, and ex_yield.nxc.