Correctly pass watcher to another loop
Vladimir Afinello
vovan.af at gmail.com
Sun Jun 24 15:44:40 CEST 2012
Greetings,
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: <http://lists.schmorp.de/pipermail/libev/attachments/20120624/3ab5912f/attachment.html>
More information about the libev
mailing list