https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246366
Bug ID: 246366 Summary: Unclear and/or wrong kevent vs EINTR manual Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Manual Pages Assignee: b...@freebsd.org Reporter: a...@playground.ru CC: d...@freebsd.org man kevent(2) says: > Cancellation can only occur before any changes are made to the kqueue, or > when the call was blocked and no changes to the queue were requested. and > [EINTR] A cancellation request was delivered to the thread, but not yet > handled. > When kevent() call fails with EINTR error, all changes in the changelist have > been applied. I think that both these statements can't be true at the same time, because the first says that kevent() can be cancelled BEFORE changes are made, and the second says that changes are always applied when EINTR that could be result of cancellation. Another possibility is that this manpage is just very unclear about EINTR behaviour. I don't know what case is right one but I'm sure that there is something wrong here. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"