From: Alejandro Colomar Date: Wed, 13 Nov 2024 11:10:04 +0000 (+0100) Subject: pthread_cond_init.3: tfix X-Git-Tag: man-pages-6.10~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec557d3c54622da3139f30a8eaf7b5bcab7eb61e;p=thirdparty%2Fman-pages.git pthread_cond_init.3: tfix Reported-by: Antti Antinoja Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3 index 42e7eacd1..658f390f6 100644 --- a/man/man3/pthread_cond_init.3 +++ b/man/man3/pthread_cond_init.3 @@ -80,7 +80,7 @@ The \fImutex\fP must be locked by the calling thread on entrance to \fBpthread_cond_wait\fP. Before returning to the calling thread, \fBpthread_cond_wait\fP re-acquires \fImutex\fP -(as per \fBpthread_lock_mutex\fP). +(as per \fBpthread_mutex_lock\fP). .P Unlocking the mutex and suspending on the condition variable is done atomically. Thus,