[erlang-questions] gen_server call and reply

Christian S chsu79@REDACTED
Sun Sep 16 21:38:56 CEST 2007


2007/9/16, Ulf Wiger <ulf@REDACTED>:
> Well, I see nothing in the docs stating that gen_server:reply/2
> is expected to be called after having returned {noreply, S}.

One case that struck my mind is when one spaws a process to do
something and return the
value with gen_server:reply/2. That requires gen_server:reply/2 to
need to be executed before the gen_server:handle_call/3 returns
noreply.



More information about the erlang-questions mailing list