Hi,

I start the event loop, it does what it should, everything works OK.

Now I want to pass some user events to the event loop. E.g. "User pressed 
shutdown button and I want the event loop to terminate", "I want to get the 
processing results accumulated so far" or similar.

I can create an eventfd, register a callback for it, then I can signal the 
eventfd and wait till the callback is invoked.

However, it feels like libuv should have a canonical way of doing that. 
Does it? And if so, how?

Martin

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