[erlang-questions] how erlang handle multiple processes accepting on a socket?
Sat Jun 14 10:30:06 CEST 2014
On Sat, Jun 14, 2014 at 10:25 AM, Benoit Chesneau <bchesneau@REDACTED>
> On Sat, Jun 14, 2014 at 9:59 AM, Max Lapshin <max.lapshin@REDACTED>
>> Driver remembers what processes have asked to notify them about new
>> When new client comes, driver looks for next waiting process, send
>> message to it and removes his record from list of waiting processes.
>> So, nothing magic. Driver is single threaded, but it is scheduled
>> independently from other processes.
> So afaik accepting is only done in one thread right?
hrmm or does it notify them about a read event and let them accept?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions