how "synchronous" is exit?

Samuel Rivas <>
Wed May 31 09:10:28 CEST 2006


Raimo Niskanen wrote:
> You will have to monitor the critical process. Either
> directly or indirectly; to get the property you assumed
> you will have to write it a'la a supervisor, i.e a top-
> level process that monitors its children and when
> ordered to die kills its children, waits for the
> 'DOWN' message from them all, and then exits itself.
> Perhaps a standard supervisor does this, I do not know.

  It does if you set Shutdown as infinity.

  Regards
-- 
	Samuel



More information about the erlang-questions mailing list