On Mon, Oct 20, 2008 at 01:42:13PM +0400, Kandalintsev Alexandre <[EMAIL PROTECTED]> wrote: > Is it safe to call ev_*_stop on stopped watcher? As I understood it's safe.
Yes. > Is it safe to call ev_unloop on stopped loop? I didn't find any suggestions > in docs. There is no such thing as a stopped loop - if you mean calling ev_unloop from outside ev_loop, yes, that's allowed (and has no effect). > BTW, I think your method to detect the kernel version<2.6.25 is correct > I didn't find any points where linux kernel exports version except > "struct utsname". Thanks :) It's disgusting to have to parse the version string :/ -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev