Correctly pass watcher to another loop

Vladimir Afinello at
Sun Jun 24 15:44:40 CEST 2012


I also haven't found the watcher.set(struct ev_loop*) implementation in the
sources. I use it before watcher.start() to associate the watcher with the
new thread loop.
Shouldn't it throw an exception on set() method if the watcher was pending
at that moment?

Best regards, Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list