Adding watchers on the fly to event loops

Aravindh Ramaswamy aravindhramu at
Wed Jul 10 12:27:40 CEST 2013


I have started an empty event loop using ev_ref(loop) and ev_run(loop).
Now, I want to add watcher for EV_READ event to this loop on the fly as and
an event comes for EV_ASYNC.

Is it possible to do so ?
Can anyone provide an example for that ?

Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list