The exit Statement
The exit statement finalizes the current thread and schedules zero or more dependant threads by specifying start and end dependency list indices. The thread indices are zero-based and inclusive. The two arguments are optional, in which case the compiler automatically adds indices for all the dependencies. The syntax of the exit statement is shown below.
exit 0, 2 // schedule this thread's 3 dependants exit // schedule all this thread's dependants