On Jun 28, 1:18 am, Ben Noordhuis <[email protected]> wrote: > >> No. What pattern do you use? Something like this? > > >> if (!ev_async_pending(w)) > >> ev_async_send(w); > > > Ben, I think this should just be the default behaviour of libuv. > > Agreed. Though I still would like to know if that's the actual pattern > that Jorge uses. :-)
I think you can see the relevant code at https://github.com/xk/node-threads-a-gogo/blob/master/src/threads_a_gogo.cc Best regards, Jeroen
