[newbie] Erlangish way of Iterator pattern
Raimo Niskanen
raimo@REDACTED
Wed Jan 26 10:19:20 CET 2005
That is fixed in the code for controlling_process/2 - it goes
through the inqueue for the old controlling process and transfers
them to the new, atomically.
olgeni@REDACTED (Jimmy Olgeni) writes:
> On Tue, 25 Jan 2005, Bengt Kleberg wrote:
>
> > that waits for a tcp connection start a new process and redirect
> > (gen_tcp:controlling_process/2) the incoming messages to the new
> > process.
>
> What happens in active mode if data comes in after the "accept" and
> before the "controlling_process/2" call? Is it a race condition to
> check for?
>
> --
> jimmy
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list