Hello! You could use IPC pipes for it (`uv_pipe_init()` with `1` as a last argument), but if done in one thread - it won't work with windows (at least for now). Is there any serious reasons for doing it this way? Or are you just concerned about performance?
Cheers, Fedor. On Wed, Jun 4, 2014 at 9:09 AM, Alejandro Santos <[email protected]> wrote: > Hello, I want to have my server application with just 2 threads: one > dedicated entirely to accept() and the other one to handle client events. > Is there any example or limitation on how to do this? > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
