diff options
Diffstat (limited to 'lib/libpthread/man/pthread_cond_wait.3')
-rw-r--r-- | lib/libpthread/man/pthread_cond_wait.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libpthread/man/pthread_cond_wait.3 b/lib/libpthread/man/pthread_cond_wait.3 index 70fe207baf4..a9158c1a554 100644 --- a/lib/libpthread/man/pthread_cond_wait.3 +++ b/lib/libpthread/man/pthread_cond_wait.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_cond_wait.3,v 1.7 2002/02/21 20:12:19 fgsch Exp $ +.\" $OpenBSD: pthread_cond_wait.3,v 1.8 2002/05/01 08:03:30 mpech Exp $ .\" .\" Copyright (c) 1997 Brian Cully <shmit@kublai.com> .\" All rights reserved. @@ -48,7 +48,8 @@ variable specified by and unblocks the mutex specified by .Fa mutex . The waiting thread unblocks only after another thread calls -.Xr pthread_cond_signal 3 , or +.Xr pthread_cond_signal 3 , +or .Xr pthread_cond_broadcast 3 with the same condition variable, and the current thread reacquires the lock on @@ -56,8 +57,8 @@ on .Sh RETURN VALUES If successful, the .Fn pthread_cond_wait -function will return zero. Otherwise an error number will be returned to -indicate the error. +function will return zero. +Otherwise an error number will be returned to indicate the error. .Sh ERRORS .Fn pthread_cond_wait will fail if: |