summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-cond-init.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2004-11-01 17:04:00 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-06 22:39:57 +0200
commit7c600777057893b7e48b10963dca2444f25f9217 (patch)
treed9cafceb9ce2547dd4cf21b9414f0fc0aded297c /sysdeps/generic/pt-cond-init.c
parent19981a7f1fbe8ef0fcc7a018d467060c7acaaa1b (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 'sysdeps/generic/pt-cond-init.c')
0 files changed, 0 insertions, 0 deletions