atomic_and/atomic_or do bitwise ops, not logical ops.
This commit is contained in:
parent
a1036dda1b
commit
d8a5b30306
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: atomic_and.3,v 1.1 2008/06/23 10:22:40 ad Exp $
|
||||
.\" $NetBSD: atomic_and.3,v 1.2 2018/06/16 08:11:32 dholland Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -40,7 +40,7 @@
|
||||
.Nm atomic_and_uint_nv ,
|
||||
.Nm atomic_and_ulong_nv ,
|
||||
.Nm atomic_and_64_nv
|
||||
.Nd atomic logical
|
||||
.Nd atomic bitwise
|
||||
.Sq and
|
||||
operations
|
||||
.\" .Sh LIBRARY
|
||||
@ -68,7 +68,7 @@ The
|
||||
.Nm atomic_and
|
||||
family of functions load the value of the variable referenced by
|
||||
.Fa ptr ,
|
||||
perform a logical
|
||||
perform a bitwise
|
||||
.Sq and
|
||||
with the value
|
||||
.Fa bits ,
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: atomic_ops.3,v 1.7 2018/02/07 09:59:56 martin Exp $
|
||||
.\" $NetBSD: atomic_ops.3,v 1.8 2018/06/16 08:11:32 dholland Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -47,7 +47,7 @@ There are 7 classes of atomic memory operations available:
|
||||
.It Xr atomic_add 3
|
||||
These functions perform atomic addition.
|
||||
.It Xr atomic_and 3
|
||||
These functions perform atomic logical
|
||||
These functions perform atomic bitwise
|
||||
.Dq and .
|
||||
.It Xr atomic_cas 3
|
||||
These functions perform atomic compare-and-swap.
|
||||
@ -56,7 +56,7 @@ These functions perform atomic decrement.
|
||||
.It Xr atomic_inc 3
|
||||
These functions perform atomic increment.
|
||||
.It Xr atomic_or 3
|
||||
These functions perform atomic logical
|
||||
These functions perform atomic bitwise
|
||||
.Dq or .
|
||||
.It Xr atomic_swap 3
|
||||
These functions perform atomic swap.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: atomic_or.3,v 1.1 2008/06/23 10:22:40 ad Exp $
|
||||
.\" $NetBSD: atomic_or.3,v 1.2 2018/06/16 08:11:32 dholland Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -40,7 +40,7 @@
|
||||
.Nm atomic_or_uint_nv ,
|
||||
.Nm atomic_or_ulong_nv ,
|
||||
.Nm atomic_or_64_nv
|
||||
.Nd atomic logical
|
||||
.Nd atomic bitwise
|
||||
.Sq or
|
||||
operations
|
||||
.\" .Sh LIBRARY
|
||||
@ -68,7 +68,7 @@ The
|
||||
.Nm atomic_or
|
||||
family of functions load the value of the variable referenced by
|
||||
.Fa ptr ,
|
||||
perform a logical
|
||||
perform a bitwise
|
||||
.Sq or
|
||||
with the value
|
||||
.Fa bits ,
|
||||
|
Loading…
Reference in New Issue
Block a user