Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 11:36:20 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "Daniel C. Sobral" <dcs@tcoip.com.br>
Cc:        Tim Robbins <tjr@FreeBSD.ORG>, Juli Mallett <jmallett@FreeBSD.ORG>, current@FreeBSD.ORG, re@FreeBSD.ORG
Subject:   Re: Serious issues with kqueue on sockets on CURRENT.
Message-ID:  <3E1F20B4.8456F855@mindspring.com>
References:  <20030110013015.A23399@FreeBSD.org> <20030110215736.A31727@dilbert.robbins.dropbear.id.au> <3E1EB139.6080701@tcoip.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel C. Sobral" wrote:
> > I can definitely reproduce this here and also fairly angry about it.
> > In addition to what you mentioned, fstat() gives an incorrect st_size
> > result now and it's likely that non-NOTE_LOWAT low watermarks are
> > firing too early as well.
> >
> > Ugly test program @ http://people.freebsd.org/~tjr/kq.c
> 
> If I ensure the write only happens after the child is waiting on kq, the
> bug does not show up for me.


So that's the kqueue bug, right?  That an event is not generated
for pending input at the time that the event is registered?

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1F20B4.8456F855>