Shutdown Sequence
Workers Fundamental Concepts
Last updated
Workers Fundamental Concepts
Last updated
Workers in an application's call-chain are shutdown from the bottom up, with the shutdown command of each Worker first cascading down the Worker call-chain hierarchy from the top.
When a Worker has been shutdown (exited), it notifies its Caller. This confirmation comes from the bottom up, in a reverse cascade back up the Worker call-chain hierarchy.
The following flowchart explains the shutdown sequence of a Workers application.
While the diagram below shows the shutdown sequence for an application starting with the application's head Worker, the shutdown sequence can be started on any Worker by use of the Workers palette VI: Worker Start Exiting.vi. This will shutdown only the specified Worker and its subWorkers. Any Workers above this Worker (in the applications Worker call-chain hierarchy) will not be shutdown.