Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 12:44:53 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269871 - head/share/man/man3
Message-ID:  <53ea0c45.6a8b.75ce4698@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Tue Aug 12 12:44:52 2014
New Revision: 269871
URL: http://svnweb.freebsd.org/changeset/base/269871

Log:
  Clarify descriptions of pthread_cond_wait() and pthread_cond_timedwait()
  
  Requested by:	Malcolm Douglas via freebsd-doc
  Reviewed by:	jhb
  MFC after:	1 week

Modified:
  head/share/man/man3/pthread.3

Modified: head/share/man/man3/pthread.3
==============================================================================
--- head/share/man/man3/pthread.3	Tue Aug 12 12:44:40 2014	(r269870)
+++ head/share/man/man3/pthread.3	Tue Aug 12 12:44:52 2014	(r269871)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea0c45.6a8b.75ce4698>