diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-09-08 06:02:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-09-08 06:02:48 +0000 |
commit | 9576fcb64fc71f62e34a7f26b117100e9f2b1168 (patch) | |
tree | fdeaf7e74c68f1d69ab7855efd4ede01910634de | |
parent | c7770f21801f2262c0921079c8b9d1cba4800716 (diff) |
slight corrections from what dlg just commited
-rw-r--r-- | share/man/man9/mutex.9 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 47687e1cb3b..f1dd05cb9ab 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mutex.9,v 1.10 2009/09/08 05:58:35 dlg Exp $ +.\" $OpenBSD: mutex.9,v 1.11 2009/09/08 06:02:47 deraadt Exp $ .\" .\" Copyright (c) 2005 Pedro Martelletto <pedro@ambientworks.net> .\" All rights reserved. @@ -22,6 +22,7 @@ .Nm mutex , .Nm mtx_init , .Nm mtx_enter , +.Nm mtx_enter_try , .Nm mtx_leave .Nd interface to CPU mutexes .Sh SYNOPSIS @@ -56,7 +57,7 @@ function acquires a mutex, spinning if necessary. The .Fn mtx_enter_try function attempts to acquire a mutex. -If it succeeds in acquiring the mutex it will return 1, otherwise +If it succeeds in acquiring the mutex it will non-zero, otherwise it will return 0. .Pp The |