diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-02-13 12:03:48 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-02-13 12:03:48 +0000 |
commit | 4c87560936a63205c707f004f1b6bd67faffc953 (patch) | |
tree | 0d78a0afc9eed68e94e223bc6f219627ce8691a4 /share/man/man9/atomic_swap_uint.9 | |
parent | 5aba9df6af3d92d69c0af65b87c4677a2d5db9e8 (diff) |
add CONTEXT
these can all be called during autoconf, in process context, or from
interrupts.
Diffstat (limited to 'share/man/man9/atomic_swap_uint.9')
-rw-r--r-- | share/man/man9/atomic_swap_uint.9 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man9/atomic_swap_uint.9 b/share/man/man9/atomic_swap_uint.9 index d90bf724f6b..c60dfbc302f 100644 --- a/share/man/man9/atomic_swap_uint.9 +++ b/share/man/man9/atomic_swap_uint.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_swap_uint.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_swap_uint.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@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: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_SWAP_UINT 9 .Os .Sh NAME @@ -40,6 +40,12 @@ The value referenced by the pointer .Fa p is replaced by the value .Fa new . +.Sh CONTEXT +.Fn atomic_swap_uint , +.Fn atomic_swap_ulong , +and +.Fn atomic_swap_ptr +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES These functions return the value at .Fa p |