<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 10:25 AM, Benoit Chesneau <span dir="ltr"><<a href="mailto:bchesneau@gmail.com" target="_blank">bchesneau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 9:59 AM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Driver remembers what processes have asked to notify them about new connection.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">When new client comes, driver looks for next waiting process, send message to it and removes his record from list of waiting processes.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">So, nothing magic. Driver is single threaded, but it is scheduled independently from other processes.</div></div>
</blockquote></div><br></div></div></div><div class="gmail_extra">So afaik accepting is only done in one thread right? </div></div></blockquote><div><br></div><div>hrmm or does it notify them about a read event and let them accept? </div>
</div></div></div>