git: a15c71254afa - main - condvar.9: document cv_wait_sig_unblock(9)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Aug 2026 09:43:43 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=a15c71254afa25ce008334d63fb6feecd68605f8
commit a15c71254afa25ce008334d63fb6feecd68605f8
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-08-25 08:23:47 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-29 09:42:47 +0000
condvar.9: document cv_wait_sig_unblock(9)
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D59132
---
share/man/man9/condvar.9 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9
index afadd7333e52..de2f1dd63caf 100644
--- a/share/man/man9/condvar.9
+++ b/share/man/man9/condvar.9
@@ -34,6 +34,7 @@
.Nm cv_wait ,
.Nm cv_wait_sig ,
.Nm cv_wait_unlock ,
+.Nm cv_wait_sig_unlock ,
.Nm cv_timedwait ,
.Nm cv_timedwait_sbt ,
.Nm cv_timedwait_sig ,
@@ -58,6 +59,8 @@
.Ft void
.Fn cv_wait_unlock "struct cv *cvp" "lock"
.Ft int
+.Fn cv_wait_sig_unlock "struct cv *cvp" "lock"
+.Ft int
.Fn cv_timedwait "struct cv *cvp" "lock" "int timo"
.Ft int
.Fn cv_timedwait_sbt "struct cv *cvp" "lock" "sbintime_t sbt" \
@@ -94,6 +97,7 @@ Threads wait on condition variables by calling
.Fn cv_wait ,
.Fn cv_wait_sig ,
.Fn cv_wait_unlock ,
+.Fn cv_wait_sig_unlock ,
.Fn cv_timedwait ,
or
.Fn cv_timedwait_sig .
@@ -135,6 +139,7 @@ before calling
.Fn cv_wait ,
.Fn cv_wait_sig ,
.Fn cv_wait_unlock ,
+.Fn cv_wait_sig_unlock ,
.Fn cv_timedwait ,
or
.Fn cv_timedwait_sig .
@@ -151,7 +156,9 @@ while the it is suspended and will reacquire the
mutex before the function returns.
The
.Fn cv_wait_unlock
-function does not reacquire the lock before returning.
+and
+.Fn cv_wait_sig_unlock
+functions do not reacquire the lock before returning.
Note that the
.Va Giant
mutex may be specified as
@@ -172,6 +179,7 @@ When
.Fn cv_wait ,
.Fn cv_wait_sig ,
.Fn cv_wait_unlock ,
+.Fn cv_wait_sig_unlock ,
.Fn cv_timedwait ,
and
.Fn cv_timedwait_sig
@@ -219,6 +227,7 @@ flags.
.Sh RETURN VALUES
If successful,
.Fn cv_wait_sig ,
+.Fn cv_wait_sig_unlock ,
.Fn cv_timedwait ,
and
.Fn cv_timedwait_sig