Date: Thu, 02 Jul 2026 00:23:29 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f27c1da74aab - stable/15 - ntsync.4: be explicit about the effect of automatic vs manual event on waiters Message-ID: <6a45af81.24c83.3c2d40ac@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f27c1da74aaba31e8203eb70a1695c422adb9c5b commit f27c1da74aaba31e8203eb70a1695c422adb9c5b Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-06-29 06:09:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-07-02 00:23:07 +0000 ntsync.4: be explicit about the effect of automatic vs manual event on waiters (cherry picked from commit 65251c43415aa0993b7d43962cbb71d772870c83) --- share/man/man4/ntsync.4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ntsync.4 b/share/man/man4/ntsync.4 index 2776a4b0e691..c808dfdac3b4 100644 --- a/share/man/man4/ntsync.4 +++ b/share/man/man4/ntsync.4 @@ -183,9 +183,15 @@ Reset (dis-arms) the event. Takes a 32bit integer argument where the state of the event before the operation is returned. .It Dv NTSYNC_IOC_EVENT_PULSE -Atomically sets and then resets the event. +Atomically sets the event, wakes up eligible waiters, +and then resets the event. Takes a 32bit integer argument where the state of the event before the operation is returned. +.Pp +If the manual event is pulsed, it wakes up all waiters, +after which it is reset. +On the other hand, the automatic event is reset after +waking up at most a single waiter. .It Dv NTSYNC_IOC_EVENT_READ Returns the current state of the event. Takes thehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a45af81.24c83.3c2d40ac>
