-
Notifications
You must be signed in to change notification settings - Fork 0
do parallel tasks
cl4cnam edited this page Dec 5, 2023
·
1 revision
Just code:
parallel ||
yourFirstTask
...
||
yourSecondTask
...
||
...
||
yourLastTask
...
Note
This is called a "parallel construct". This construct terminates only when all your tasks are finished. So, following instructions are executed only then.
code:
parallel exitWith branch N ||
yourFirstTask
...
||
yourSecondTask
...
||
...
||
yourLastTask
...
Note
When the Nth task is terminated, all the other tasks are discontinued.
code:
parallel exitAfter N finished ||
yourFirstTask
...
||
yourSecondTask
...
||
...
||
yourLastTask
...
Note
When N tasks are terminated, all the other tasks are discontinued.
FuncSug Documentation