I've got an addon I'm working on that uses uv_poll and I noticed that
if no events have been reported for a certain amount of time, the
event loop is exited.

I have tried manually adding a call to uv_ref() on the uv_poll_t
handle at different points (e.g. after each call to uv_poll_start),
but it does not prevent the event loop from exiting early, no matter
how many uv_ref() statements I have. Is uv_poll some kind of special
case where references on those kinds of handles are ignored?

I would try uv_ref()'ing the loop itself, but it seems that isn't
permitted anymore (I'm on node 0.8.5).

Is there something I'm missing?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to