start or re-start?

Luca Manai (=?iso-8859-1?Q?=C4V=2FEAB?=) luca.manai@REDACTED
Thu Jul 24 12:29:59 CEST 2003


Hello all,

is there the possibility for a child process to distiguish between
the two following situations?

  [1] the supervisor has started the child for the first time
      (start_child/2 interface)

  [2] the supervisor has re-started the child
      (child process crash)

I couldn't come up up with a clean solution...
(I don't need to distiguish the restart_child/2 situation)

Thanks.

Luca.
-- 
  Luca Manai           mailto:luca.manai@REDACTED

  ERICSSON AB    -    PDU IP Connectivity and Control
  Götalandsvägen, 230   -    SE-12544 Älvsjö - Sweden
  Tel. +46 (0)8 71 94071   -   Fax. +46 (0)8 71 99940



More information about the erlang-questions mailing list