svn commit: r271063 - stable/9/share/man/man3
Gavin Atkinson
gavin at FreeBSD.org
Wed Sep 3 23:11:41 UTC 2014
Author: gavin
Date: Wed Sep 3 23:11:41 2014
New Revision: 271063
URL: http://svnweb.freebsd.org/changeset/base/271063
Log:
Merge r269871 from head:
Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()
Submitted by: Malcolm Douglas via freebsd-doc
Reviewed by: jhb
Modified:
stable/9/share/man/man3/pthread.3
Directory Properties:
stable/9/share/man/man3/ (props changed)
Modified: stable/9/share/man/man3/pthread.3
==============================================================================
--- stable/9/share/man/man3/pthread.3 Wed Sep 3 23:11:39 2014 (r271062)
+++ stable/9/share/man/man3/pthread.3 Wed Sep 3 23:11:41 2014 (r271063)
@@ -30,7 +30,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 8, 2010
+.Dd August 12, 2014
.Dt PTHREAD 3
.Os
.Sh NAME
@@ -344,13 +344,13 @@ Unblock at least one of the threads bloc
.Fa "const struct timespec *abstime"
.Fc
.Xc
-Wait no longer than the specified time for a condition
-and lock the specified mutex.
+Unlock the specified mutex, wait no longer than the specified time for
+a condition, and then relock the mutex.
.It Xo
.Ft int
.Fn pthread_cond_wait "pthread_cond_t *" "pthread_mutex_t *mutex"
.Xc
-Wait for a condition and lock the specified mutex.
+Unlock the specified mutex, wait for a condition, and relock the mutex.
.El
.Ss Read/Write Lock Routines
.Bl -tag -width indent
More information about the svn-src-stable-9
mailing list