Date: Mon, 11 May 2020 02:47:18 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 246366] Unclear and/or wrong kevent vs EINTR manual Message-ID: <bug-246366-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246366 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: bugs@FreeBSD.org Reporter: aler@playground.ru CC: doc@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 h= andled. > 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 wr= ong here. --=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-246366-9>