aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-01 08:31:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-01 08:31:38 +0000
commitb5d5b67be3e624efa7f44df4375dfdfffa1f97cb (patch)
treec3ba187098d3aa88a83200ab4a5c4c384abc9124 /sysdeps/ia64/bits
parent96c814d3d866eff5a86599cbe567ca167189c7ea (diff)
downloadglibc-b5d5b67be3e624efa7f44df4375dfdfffa1f97cb.tar
glibc-b5d5b67be3e624efa7f44df4375dfdfffa1f97cb.tar.gz
glibc-b5d5b67be3e624efa7f44df4375dfdfffa1f97cb.tar.bz2
glibc-b5d5b67be3e624efa7f44df4375dfdfffa1f97cb.zip
Update.
2003-05-04 H.J. Lu <hongjiu.lu@intel.com> * malloc/arena.c (arena_get2): Add atomic_write_barrier. * malloc/thread-m.h: Include <atomic.h>. (atomic_full_barrier): Provide default. (atomic_read_barrier): Likewise. (atomic_write_barrier): Likewise. * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define.
Diffstat (limited to 'sysdeps/ia64/bits')
-rw-r--r--sysdeps/ia64/bits/atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/ia64/bits/atomic.h b/sysdeps/ia64/bits/atomic.h
index 27346675ab..c8b567b69c 100644
--- a/sysdeps/ia64/bits/atomic.h
+++ b/sysdeps/ia64/bits/atomic.h
@@ -122,3 +122,5 @@ typedef uintmax_t uatomic_max_t;
} \
while (__builtin_expect (__val != __oldval, 0)); \
__oldval & __mask; })
+
+#define atomic_full_barrier() __sync_synchronize ()