Difference between revisions of "Join Forked Threads"
From PresenceWiki
m (Join Forked Threads RL moved to Join Forked Threads) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[file:join_node.png]] | |
The Join Forked Threads Node blocks Task execution until any threads which have been spawned by the [[Fork Execution]] node have finished running. It is not editable and accepts no parameters. | The Join Forked Threads Node blocks Task execution until any threads which have been spawned by the [[Fork Execution]] node have finished running. It is not editable and accepts no parameters. | ||
− | + | [[file:join_threads_task.png]] | |
+ | |||
+ | The above example uses a while node to create multiple threads on execution path 1. When the while node iteration is complete execution path 2 is executed and the Join Forked Threads node will wait for all threads created in this task to complete before ending the task. | ||
{{FlowControl}} | {{FlowControl}} |
Latest revision as of 13:15, 20 August 2015
The Join Forked Threads Node blocks Task execution until any threads which have been spawned by the Fork Execution node have finished running. It is not editable and accepts no parameters.
The above example uses a while node to create multiple threads on execution path 1. When the while node iteration is complete execution path 2 is executed and the Join Forked Threads node will wait for all threads created in this task to complete before ending the task.
Task Elements > Flow Control Task Elements > Join Forked Threads
Schedule Nodes | Decision Point Nodes | Start of Task | End of Task | Error Handler |
Throw Exception | Passive Node | Log Entry | Sleep For n Seconds | While Node | Loop Node | Exit Loop Node | |Switch Node |
Fork Execution | Join Forked Threads | Start Synch Block | End Synch Block | Event Notification Nodes |