diff options
author | ru <ru@FreeBSD.org> | 2005-02-15 23:52:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-15 23:52:35 +0000 |
commit | c3757b437a1247a6cbc1f6c5d41312f1faa9eb4a (patch) | |
tree | bd795f4e1a6287165ea739df71c2ab7ef26cce97 | |
parent | b5f200c138245a945f94c5c2b3a44fa964db443e (diff) | |
download | FreeBSD-src-c3757b437a1247a6cbc1f6c5d41312f1faa9eb4a.zip FreeBSD-src-c3757b437a1247a6cbc1f6c5d41312f1faa9eb4a.tar.gz |
Don't say that mtx_lock() will "sleep" if another kernel thread is
holding the mutex, say it will "block". Later in this manual page
we say that sleeping while holding a mutex isn't allowed, and this
can be confusing.
Submitted by: jhb
-rw-r--r-- | share/man/man9/mutex.9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index b4596cf..811ad9d 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -28,7 +28,7 @@ .\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $ .\" $FreeBSD$ .\" -.Dd February 12, 2001 +.Dd February 16, 2005 .Dt MUTEX 9 .Os .Sh NAME @@ -192,7 +192,7 @@ on behalf of the currently running kernel thread. If another kernel thread is holding the mutex, the caller will be disconnected from the CPU until the mutex is available -(i.e., it will sleep). +(i.e., it will block). .Pp The .Fn mtx_lock_spin |