On 4/17/14 12:29 PM, Fedor Indutny wrote:
Wouldn't `uv_backend_poll` be unix specific?


Ideally no. I haven't looked into all the details, but my initial idea would be to block for i/o events for the given amount of time, just like uv_run does, but without firing any callback. Then a call to uv_run with UV_RUN_NOWAIT would fire those callbacks.

It's not something I'm going to dive into right now, but I think it would make the embedding case a lot simpler, and cross platform.


--
Saúl Ibarra Corretgé
http://bettercallsaghul.com

--
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.

Reply via email to