Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/atomic atomic_and/atomic_or do bitwise ops, not log...



details:   https://anonhg.NetBSD.org/src/rev/cc7b1e8b3018
branches:  trunk
changeset: 362582:cc7b1e8b3018
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jun 16 08:11:32 2018 +0000

description:
atomic_and/atomic_or do bitwise ops, not logical ops.

diffstat:

 lib/libc/atomic/atomic_and.3 |  6 +++---
 lib/libc/atomic/atomic_ops.3 |  6 +++---
 lib/libc/atomic/atomic_or.3  |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 73918ea6f94d -r cc7b1e8b3018 lib/libc/atomic/atomic_and.3
--- a/lib/libc/atomic/atomic_and.3      Sat Jun 16 05:52:17 2018 +0000
+++ b/lib/libc/atomic/atomic_and.3      Sat Jun 16 08:11:32 2018 +0000
@@ -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 @@
 .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 ,
diff -r 73918ea6f94d -r cc7b1e8b3018 lib/libc/atomic/atomic_ops.3
--- a/lib/libc/atomic/atomic_ops.3      Sat Jun 16 05:52:17 2018 +0000
+++ b/lib/libc/atomic/atomic_ops.3      Sat Jun 16 08:11:32 2018 +0000
@@ -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 @@
 .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 @@
 .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.
diff -r 73918ea6f94d -r cc7b1e8b3018 lib/libc/atomic/atomic_or.3
--- a/lib/libc/atomic/atomic_or.3       Sat Jun 16 05:52:17 2018 +0000
+++ b/lib/libc/atomic/atomic_or.3       Sat Jun 16 08:11:32 2018 +0000
@@ -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 @@
 .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 ,



Home | Main Index | Thread Index | Old Index