Child exit generates read events
Marc Lehmann
schmorp at schmorp.de
Sat Aug 8 19:47:34 CEST 2009
On Sat, Aug 08, 2009 at 02:32:46PM -0300, Andre Nathan <andre at 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
--==---/ / _ \/ // /\ \/ / pcg at goof.com
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list