2014-04-08 11:40 GMT+04:00 Kirill Timofeev <[email protected]>:
>
> Could you please point me to code example or documentation regarding
> current best practice for keeping event loop running forever?
while (1) {
> ev_loop(loop, 0);
> }
>
ev_loop will run on it's own until it has nothing to do (i.e. no watchers
active) with default flags. I do not understand the purpose of infinite
while loop around it.
--
Regards,
Konstantin
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev