Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2019 21:10:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 203773] KQueue Man Page Error - kevent - EINTR listed twice
Message-ID:  <bug-203773-9-HGIKMc84E1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203773-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203773-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203773

--- Comment #4 from David Bright <dab@freebsd.org> ---
(In reply to Michael Cress from comment #3)

I believe that the behavior of kevent() is in conformance with POSIX (IEEE =
Std
1003.1-2001) here, although admittedly it probably doesn't //need// to foll=
ow
that standard since kqueue()/kevent() is not defined by POSIX. Anyway,
returning EINTR seems to make sense from this text:

The side effects of acting upon a cancellation request while suspended duri=
ng a
call of a function are the same as the side effects that may be seen in a
single-threaded program when a call to a function is interrupted by a signal
and the given function returns [EINTR]. Any such side effects occur before =
any
cancellation cleanup handlers are called.

I would suggest that this bug be closed, "Works as Intended".

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203773-9-HGIKMc84E1>