This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/generic atomicity.h
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/sysdeps/generic atomicity.h
- From: roland at sourceware dot cygnus dot com
- Date: 1 Apr 2001 05:02:48 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2001-03-31 21:02:48
Modified files:
sysdeps/generic: atomicity.h
Log message:
2001-03-11 Roland McGrath <roland@frob.com>
* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.