Module Name:    src
Committed By:   dholland
Date:           Sat Jun 16 08:11:33 UTC 2018

Modified Files:
        src/lib/libc/atomic: atomic_and.3 atomic_ops.3 atomic_or.3

Log Message:
atomic_and/atomic_or do bitwise ops, not logical ops.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/atomic/atomic_and.3 \
    src/lib/libc/atomic/atomic_or.3
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/atomic/atomic_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/atomic/atomic_and.3
diff -u src/lib/libc/atomic/atomic_and.3:1.1 src/lib/libc/atomic/atomic_and.3:1.2
--- src/lib/libc/atomic/atomic_and.3:1.1	Mon Jun 23 10:22:40 2008
+++ src/lib/libc/atomic/atomic_and.3	Sat Jun 16 08:11:32 2018
@@ -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 ,
Index: src/lib/libc/atomic/atomic_or.3
diff -u src/lib/libc/atomic/atomic_or.3:1.1 src/lib/libc/atomic/atomic_or.3:1.2
--- src/lib/libc/atomic/atomic_or.3:1.1	Mon Jun 23 10:22:40 2008
+++ src/lib/libc/atomic/atomic_or.3	Sat Jun 16 08:11:32 2018
@@ -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 ,

Index: src/lib/libc/atomic/atomic_ops.3
diff -u src/lib/libc/atomic/atomic_ops.3:1.7 src/lib/libc/atomic/atomic_ops.3:1.8
--- src/lib/libc/atomic/atomic_ops.3:1.7	Wed Feb  7 09:59:56 2018
+++ src/lib/libc/atomic/atomic_ops.3	Sat Jun 16 08:11:32 2018
@@ -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 ope
 .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.

Reply via email to