Module Name: src Committed By: wiz Date: Tue May 2 08:20:20 UTC 2017
Modified Files: src/share/man/man9: mutex.9 Log Message: Use more markup. Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/mutex.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/mutex.9 diff -u src/share/man/man9/mutex.9:1.27 src/share/man/man9/mutex.9:1.28 --- src/share/man/man9/mutex.9:1.27 Mon May 1 21:36:01 2017 +++ src/share/man/man9/mutex.9 Tue May 2 08:20:20 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: mutex.9,v 1.27 2017/05/01 21:36:01 pgoyette Exp $ +.\" $NetBSD: mutex.9,v 1.28 2017/05/02 08:20:20 wiz Exp $ .\" .\" Copyright (c) 2007, 2009 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 4, 2013 +.Dd May 1, 2017 .Dt MUTEX 9 .Os .Sh NAME @@ -177,10 +177,15 @@ The mutex must have been previously acqu Mutexes may be released out of order as needed. .It Fn mutex_ownable "mtx" .Pp -When compiled with LOCKDEBUG (see +When compiled with +.Dv LOCKDEBUG +(see .Xr options 4 ) , -ensure that the current process can successfully acquire mtx. -If mtx is already owned by the current process, the system will panic +ensure that the current process can successfully acquire +.Ar mtx . +If +.Ar mtx +is already owned by the current process, the system will panic with a "locking against myself" error. .Pp This function is needed because