A (perhaps silly) kqueue question

Vlad GALU dudu at dudu.ro
Fri Mar 7 21:26:02 UTC 2008


On 3/7/08, Julian Elischer <julian at elischer.org> wrote:
> Vlad GALU wrote:
>  > On 3/7/08, Julian Elischer <julian at elischer.org> wrote:
>  >> 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
>  >
>  >    Ah, yes, sorry. Fresh RELENG_7.
>  >
>  >>  Interstingly I may have seen a similar thing myself,
>  >>  but fixed it elsewhere.
>  >>
>  >>  the question is a valid one..
>  >>
>  >>
>  >>
>  >
>  >
>
>
> Is this reproducable?  Can you make this happen at will?

   I'll try. So far we haven't been able to trigger it at will,
unfortunately :( It just pops out once in a while..

>


-- 
Mahnahmahnah!


More information about the freebsd-hackers mailing list