[erlang-questions] OTP Question

Joseph Wayne Norton <>
Thu Nov 22 15:21:27 CET 2012


Lucky -

Good question.

Based on my experience, the generic part and the specific part (i.e. callback functions) of an OTP behaviour are executed in the *same* process by *convention*.  This is a matter of convention and is a design choice that can be decided by the author of the behaviour's generic part.

regards,

Joe N.


p.s.  http://www.erlang.org/doc/design_principles/des_princ.html#id69556
  



On Nov 22, 2012, at 10:54 PM, Lucky Khoza <> wrote:

> Hi Erlang Developers,
> 
> May someone help me understand the following:
> 
> - Is the behavior process in OTP a child process? and
> - Are callback functions executed in the parent or child process?
> 
> Kindest Regards
> Lucky Khoza
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list