A (perhaps silly) kqueue question

Julian Elischer julian at elischer.org
Fri Mar 7 20:58:08 UTC 2008

Vlad GALU wrote:
>    I see an unusual symptom with one of our in-house applications. The
> main I/O loop calls kevent(), which in turn returns two events with
> EV_EOF error set, always for the same descriptors (they're both socket
> descriptors). As the man page is not pretty clear about it and I don't
> have my UNP copy at hand, I would like to ask the list whether the
> error events are supposed to be one-shot or not.
>    Thanks for your kind input.

You don't specify which version you are running

Interstingly I may have seen a similar thing myself,
but fixed it elsewhere.

the question is a valid one..

More information about the freebsd-hackers mailing list