[erlang-questions] how erlang handle multiple processes accepting on a socket?
Sat Jun 14 10:25:41 CEST 2014
On Sat, Jun 14, 2014 at 9:59 AM, Max Lapshin <max.lapshin@REDACTED> wrote:
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions