[erlang-questions] how erlang handle multiple processes accepting on a socket?

Benoit Chesneau bchesneau@REDACTED
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
> connection.
> 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...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140614/eb809f61/attachment.htm>

More information about the erlang-questions mailing list