Subject: CVS commit: src/common/lib/libc/atomic
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/28/2007 16:59:11
Module Name: src
Committed By: ad
Date: Wed Nov 28 16:59:11 UTC 2007
Modified Files:
src/common/lib/libc/atomic: atomic_add_32_cas.c atomic_add_32_nv_cas.c
atomic_add_64_cas.c atomic_add_64_nv_cas.c atomic_and_32_cas.c
atomic_and_32_nv_cas.c atomic_and_64_cas.c atomic_and_64_nv_cas.c
atomic_or_32_cas.c atomic_or_32_nv_cas.c atomic_or_64_cas.c
atomic_or_64_nv_cas.c atomic_swap_32_cas.c atomic_swap_64_cas.c
Log Message:
Memory barrier in respect of the CAS isn't necessary.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/common/lib/libc/atomic/atomic_add_32_cas.c \
src/common/lib/libc/atomic/atomic_add_32_nv_cas.c \
src/common/lib/libc/atomic/atomic_add_64_cas.c \
src/common/lib/libc/atomic/atomic_add_64_nv_cas.c \
src/common/lib/libc/atomic/atomic_and_32_cas.c \
src/common/lib/libc/atomic/atomic_and_32_nv_cas.c \
src/common/lib/libc/atomic/atomic_and_64_cas.c \
src/common/lib/libc/atomic/atomic_and_64_nv_cas.c \
src/common/lib/libc/atomic/atomic_or_32_cas.c \
src/common/lib/libc/atomic/atomic_or_32_nv_cas.c \
src/common/lib/libc/atomic/atomic_or_64_cas.c \
src/common/lib/libc/atomic/atomic_or_64_nv_cas.c \
src/common/lib/libc/atomic/atomic_swap_32_cas.c \
src/common/lib/libc/atomic/atomic_swap_64_cas.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.