Lets say I have a Superviser tree with a parent, and some children. The children are transient. but used by other processes. the parent is in charge os pointing the users to the correct child.
User ---lookup(child)--> Parent
User <----PidOfChild----- Parent
User --request(Resouce)--> Child
User <------respond------ Child
lets say the child shuts down between the two sequences, what would be the correct way of shutting down the child inorder to avoid a crash on the User end?
The user could monitor the Child, but would that help really. since the user is doing all of this inside one transaction?