On Sat, Aug 08, 2009 at 02:32:46PM -0300, Andre Nathan <an...@digirati.com.br> wrote: > > but the answer is still to stop the watcher on end-of-file, or before, or > > after, or anytime, when you do not want those events anymore. > > Thanks... I didn't think that EOF would cause an event. It's working > fine now :)
ah! it's kind of "whenever read will not block (or return EAGAIN)" - read does not block on errors, or eof, or data available, write does not block on errors, or when space is available. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / p...@goof.com -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev