summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-15 18:29:40 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-15 18:29:40 +0000
commita1b5424f501c313eda811b1db124970c1777bd77 (patch)
tree4b37cc86b25b00ff6e5c1c8515a23f624ec0b167 /nptl
parent8e854030c0e31434f14339145334856cfd487984 (diff)
downloadglibc-a1b5424f501c313eda811b1db124970c1777bd77.tar.gz
glibc-a1b5424f501c313eda811b1db124970c1777bd77.tar.xz
glibc-a1b5424f501c313eda811b1db124970c1777bd77.zip
Update.
2003-04-15  Ulrich Drepper  <drepper@redhat.com>

	* include/atomic.h: Pretty printing.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthreadP.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index d51f837969..ad62be8d21 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -32,6 +32,18 @@
 #include <atomic.h>
 
 
+/* Atomic operations on TLS memory.  */
+#ifndef THREAD_ATOMIC_CMPXCHG_VAL
+# define THREAD_ATOMIC_CMPXCHG_VAL(descr, member, new, old) \
+  atomic_compare_and_exchange_val_acq (&(descr)->member, new, old)
+#endif
+
+#ifndef THREAD_ATOMIC_BIT_SET
+# define THREAD_ATOMIC_BIT_SET(descr, member, bit) \
+  atomic_bit_set (&(descr)->member, bit)
+#endif
+
+
 /* Internal variables.  */
 
 
@@ -154,18 +166,6 @@ __do_cancel (void)
 #define SIGTIMER	(__SIGRTMIN + 1)
 
 
-/* Atomic operations on TLS memory.  */
-#ifndef THREAD_ATOMIC_CMPXCHG_VAL
-# define THREAD_ATOMIC_CMPXCHG_VAL(descr, member, new, old) \
-  atomic_compare_and_exchange_val_acq (&(descr)->member, new, old)
-#endif
-
-#ifndef THREAD_ATOMIC_BIT_SET
-# define THREAD_ATOMIC_BIT_SET(descr, member, bit) \
-  atomic_bit_set (&(descr)->member, bit)
-#endif
-
-
 /* Internal prototypes.  */
 
 /* Thread list handling.  */