Difference between revisions of "Join Forked Threads"

From PresenceWiki
Jump to: navigation, search
 
Line 1: Line 1:
http://www.international-presence.com/wikidocs/images/join_node.png
+
[[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.
  
http://www.international-presence.com/wikidocs/images/join_threads_task.png
+
[[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.
 
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 08:15, 20 August 2015

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.

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.

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



Task Elements | Resources