Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 00:49:32 -0700 (PDT)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        boris@cs.tu-berlin.de, jmg@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/45291: kevent(2) ignores timeout if nevents == 0
Message-ID:  <200310130749.h9D7nWF9038579@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: kevent(2) ignores timeout if nevents == 0

State-Changed-From-To: open->feedback
State-Changed-By: jmg
State-Changed-When: Mon Oct 13 00:46:53 PDT 2003
State-Changed-Why: 
to quote the man page: If timeout is a non-NULL pointer, it specifies
a maximum interval to wait for an event,

The behavior is correct since you wanted to wait for 0 events, and since
it has delivered all the events it can (none), it returns.  Unless provide
with good reason (or maybe a patch to the manpage to document this feature?)
I will close the PR in 5 days.

http://www.freebsd.org/cgi/query-pr.cgi?pr=45291



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310130749.h9D7nWF9038579>