summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps
diff options
context:
space:
mode:
authormarcus <marcus>2004-11-01 17:04:00 +0000
committermarcus <marcus>2004-11-01 17:04:00 +0000
commitbb023f110010b59364e78c725d746c7178e6b715 (patch)
tree240bb3b38927e946b48a104336db0e135284b84d /libpthread/sysdeps
parent40398393045749a50f58267281b06422a101f72d (diff)
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* pthread/pt-internal.h: Include <atomic.h>, not <bits/atomic.h>. (__pthread_total): Change type of declaration to uatomic_max_t. * pthread/pt-alloc.c: Include <atomic.h>, not <bits/atomic.h>. (__pthread_free_threads): Change type to uatomicptr_t. (__pthread_alloc): Call atomic_compare_and_exchange_val_acq instead of __atomicptr_compare_and_swap. * pthread/pt-create.c: Include <atomic.h>, not <bits/atomic.h>. (__pthread_total): Change type to uatomic_max_t. (__pthread_create_internal): Call atomic_increment, not __atomic_inc and atomic_decrement, not __atomic_dec. * pthread/pt-dealloc.c: Include <atomic.h>, not <bits/atomic.h>. (__pthread_free_threads): Declare as uatomicptr_t. (__pthread_dealloc): Call atomic_compare_and_exchange_val_acq instead of __atomicptr_compare_and_swap. * pthread/pt-exit.c: Include <atomic.h>, not <bits/atomic.h>. (pthread_exit): Call atomic_decrement_and_test instead of __atomic_dec_and_test. * sysdeps/l4/pt-create-np.c: Do not include <bits/atomic.h>.
Diffstat (limited to 'libpthread/sysdeps')
-rw-r--r--libpthread/sysdeps/l4/pt-create-np.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/sysdeps/l4/pt-create-np.c b/libpthread/sysdeps/l4/pt-create-np.c
index d5a2366..627d6d0 100644
--- a/libpthread/sysdeps/l4/pt-create-np.c
+++ b/libpthread/sysdeps/l4/pt-create-np.c
@@ -22,8 +22,6 @@
#include <pthread.h>
#include <signal.h>
-#include <bits/atomic.h>
-
#include <pt-internal.h>
/* Create a thread with attributes given by ATTR, executing