Supervisor starts children in parallel

Ulf Wiger ulf.wiger@REDACTED
Mon Dec 1 22:30:45 CET 2003

The supervisor starts children in series, assuming that you use
proc_lib:start_link/3 to start each child.


On Mon, 1 Dec 2003 14:56:42 -0500, Vance Shipley <vances@REDACTED> 

> The supervisor behaviour seems to start it's children in parallel.
> I have a supervisor with two children in a one_for_all strategy.
> This causes a chicken and egg problem when these processes act as
> a pair.  If they were started synchronously and in order there
> wouldn't be a problem.  It would be very handy if there were a
> flag to specify either a synchronous or asynchronous startup.
> How do folks deal with this?
> 	-Vance

Ulf Wiger

More information about the erlang-questions mailing list