summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-12-09 00:58:29 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-12-09 00:58:29 +0000
commit05c709affcf84d2eb4a16b5ef65a46a72f4264ec (patch)
treeca3848f5ccb7bb157ddc065b6f909a01c555f26e /share
parenta97fecd5c075b793e76741901a7bb03dc771b15e (diff)
clarify that mtx_enter will only raise the ipl if necessary (not
arbitrarily set it). noticed by deraadt
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/mutex.99
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 2a1ffd39dbd..5df3ff59e81 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mutex.9,v 1.4 2007/05/31 19:20:00 jmc Exp $
+.\" $OpenBSD: mutex.9,v 1.5 2007/12/09 00:58:28 tedu Exp $
.\"
.\" Copyright (c) 2005 Pedro Martelletto <pedro@openbsd.org>
.\" All rights reserved.
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: December 9 2007 $
.Dt MUTEX 9
.Os
.Sh NAME
@@ -42,9 +42,10 @@ The
.Fn mtx_init
function is used to initiate the mutex pointed to by
.Fa mtxp .
-When acquired, the mutex will cause the processor interrupt level to be changed
+When acquired, the mutex will cause the processor interrupt level to be raised
to
-.Fa wantipl .
+.Fa wantipl
+if necessary.
.Pp
The
.Fn mtx_enter