Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2019 17:51:40 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350684 - head/share/man/man3
Message-ID:  <201908071751.x77HpeLg027268@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Aug  7 17:51:40 2019
New Revision: 350684
URL: https://svnweb.freebsd.org/changeset/base/350684

Log:
  More places to clarify the robustness guarantees.
  
  Wording submitted by:	Martin Simmons <martin@lispworks.com>
  MFC after:	3 days

Modified:
  head/share/man/man3/pthread_cond_wait.3
  head/share/man/man3/pthread_mutex_consistent.3
  head/share/man/man3/pthread_mutex_timedlock.3

Modified: head/share/man/man3/pthread_cond_wait.3
==============================================================================
--- head/share/man/man3/pthread_cond_wait.3	Wed Aug  7 17:46:07 2019	(r350683)
+++ head/share/man/man3/pthread_cond_wait.3	Wed Aug  7 17:51:40 2019	(r350684)
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 17, 2018
+.Dd August 7, 2019
 .Dt PTHREAD_COND_WAIT 3
 .Os
 .Sh NAME
@@ -78,8 +78,8 @@ was not locked by the calling thread.
 .It Bq Er EOWNERDEAD
 The argument
 .Fa mutex
-points to a robust mutex and the previous owning thread terminated
-while holding the mutex lock.
+points to a robust mutex and the process containing the previous owning
+thread terminated while holding the mutex lock.
 The lock was granted to the caller and it is up to the new owner
 to make the state consistent.
 .It Bq Er ENOTRECOVERABLE

Modified: head/share/man/man3/pthread_mutex_consistent.3
==============================================================================
--- head/share/man/man3/pthread_mutex_consistent.3	Wed Aug  7 17:46:07 2019	(r350683)
+++ head/share/man/man3/pthread_mutex_consistent.3	Wed Aug  7 17:51:40 2019	(r350684)
@@ -41,9 +41,9 @@
 .Ft int
 .Fn pthread_mutex_consistent "pthread_mutex_t *mutex"
 .Sh DESCRIPTION
-If the thread owning a robust mutex terminates while holding the
-mutex, the mutex becomes inconsistent and the next thread that
-acquires the mutex lock is notified of the state by the return value
+If the process containing the thread owning a robust mutex terminates
+while holding the mutex, the mutex becomes inconsistent and the next thread
+that acquires the mutex lock is notified of the state by the return value
 .Er EOWNERDEAD .
 In this case, the mutex does not become normally usable again until
 the state is marked consistent.

Modified: head/share/man/man3/pthread_mutex_timedlock.3
==============================================================================
--- head/share/man/man3/pthread_mutex_timedlock.3	Wed Aug  7 17:46:07 2019	(r350683)
+++ head/share/man/man3/pthread_mutex_timedlock.3	Wed Aug  7 17:51:40 2019	(r350684)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 17, 2018
+.Dd August 7, 2019
 .Dt PTHREAD_MUTEX_TIMEDLOCK 3
 .Os
 .Sh NAME
@@ -92,8 +92,8 @@ The current thread already owns the
 .It Bq Er EOWNERDEAD
 The argument
 .Fa mutex
-points to a robust mutex and the previous owning thread terminated
-while holding the mutex lock.
+points to a robust mutex and the process containing the previous owning
+thread terminated while holding the mutex lock.
 The lock was granted to the caller and it is up to the new owner
 to make the state consistent.
 .It Bq Er ENOTRECOVERABLE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908071751.x77HpeLg027268>