By piccoloprincipe
via css.dzone.com
Published: Nov 22 2012 / 08:10
Linking processes bidirectionally is a robust way of dealing with failures: a parent can be sure its children are stopped when it crashes, while it can trap the exit signals from them to handle their demise. However, you have also the option of trapping exists unidirectionally: in this scenario a process A will monitor the state of process B, but B won't be aware of the status of A or if it still exists at all.
Add your comment