[Bug 203773] KQueue Man Page Error - kevent - EINTR listed twice
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 12 21:10:36 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203773
--- Comment #4 from David Bright <dab at 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 follow
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 during 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".
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-doc
mailing list