summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-rawhide/man3/pthread_cond_init.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
commit932e4432596447eb9331cc2a2bb74a26a35b4efc (patch)
tree95161711ea07fd64f0c82d6e7943024c033dd5a8 /upstream/fedora-rawhide/man3/pthread_cond_init.3
parentAdding debian version 4.22.0-1. (diff)
downloadmanpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz
manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/fedora-rawhide/man3/pthread_cond_init.3')
-rw-r--r--upstream/fedora-rawhide/man3/pthread_cond_init.36
1 files changed, 3 insertions, 3 deletions
diff --git a/upstream/fedora-rawhide/man3/pthread_cond_init.3 b/upstream/fedora-rawhide/man3/pthread_cond_init.3
index cfe5dbaa..7fff419e 100644
--- a/upstream/fedora-rawhide/man3/pthread_cond_init.3
+++ b/upstream/fedora-rawhide/man3/pthread_cond_init.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH pthread_cond_init 3 2023-10-31 "Linux man-pages 6.06"
+.TH pthread_cond_init 3 2024-02-26 "Linux man-pages 6.7"
.
.
.SH NAME
@@ -110,12 +110,12 @@ except checking that the condition has no waiting threads.
.
.SH CANCELLATION
\fBpthread_cond_wait\fP and \fBpthread_cond_timedwait\fP
-are cancellation points.
+are cancelation points.
If a thread is cancelled while suspended in one of these functions,
the thread immediately resumes execution,
then locks again the \fImutex\fP
argument to \fBpthread_cond_wait\fP and \fBpthread_cond_timedwait\fP,
-and finally executes the cancellation.
+and finally executes the cancelation.
Consequently,
cleanup handlers are assured that \fImutex\fP is locked
when they are called.