diff options
| author | christos <christos@NetBSD.org> | 2008-12-31 13:57:54 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2008-12-31 13:57:54 +0000 |
| commit | 4a65af23ace2b1dcd2ba3f382ca8e0d0839ff4ff (patch) | |
| tree | 1ecb33c9483d77f19a2b9ca5ba19d99b37de2263 /lib/libpthread | |
| parent | 34bbf0c07818ffa7845d6e44dd5833a69fe8f277 (diff) | |
mention that these may fail with EPERM. From Anon Ymous
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_cond_wait.3 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libpthread/pthread_cond_wait.3 b/lib/libpthread/pthread_cond_wait.3 index 3a6e81f9c03..8551dbc42ba 100644 --- a/lib/libpthread/pthread_cond_wait.3 +++ b/lib/libpthread/pthread_cond_wait.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: pthread_cond_wait.3,v 1.9 2008/05/26 08:43:08 wiz Exp $ +.\" $NetBSD: pthread_cond_wait.3,v 1.10 2008/12/31 13:57:54 christos Exp $ .\" .\" Copyright (c) 2002, 2008 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -177,6 +177,17 @@ or .Fa abstime is invalid. .El +.Pp +.Fn pthread_cond_wait +and +.Fn pthread_cond_timedwait +may fail if: +.Bl -tag -width Er +.It Bq Er EPERM +The value specified by +.Fa mutex +is not locked in condition wait. +.El .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_destroy 3 , |
