https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203773
--- Comment #4 from David Bright <[email protected]> --- (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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
