Also, concurrently, initiate a quiescence detection module, and ask it to send a message to a particular method of a particular object when there is no more work in the system. Again, you use the quiescence detection algorithm as above. Available by anon. Suppose I have a program which starts computation on one node and starts asynchronously threads on other nodes.
Every node can become idle, ie.
Even if that just consists of a counting semaphore.