diff options
author | marcus <marcus> | 2004-11-01 17:28:42 +0000 |
---|---|---|
committer | marcus <marcus> | 2004-11-01 17:28:42 +0000 |
commit | d0e6329906ed3ef13c32166ef8a484cfb14d723e (patch) | |
tree | a15dec64148615a8c9762aac98417c7da58f07fb | |
parent | ca4a13f4e75baca0ee96af58d3f5264fa9c9f28c (diff) |
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* pthread/pt-create.c (__pthread_total): Change type to uatomic32_t.
* pthread/pt-internal.h (__pthread_total): Likewise in declaration.
-rw-r--r-- | libpthread/ChangeLog | 3 | ||||
-rw-r--r-- | libpthread/pthread/pt-create.c | 2 | ||||
-rw-r--r-- | libpthread/pthread/pt-internal.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/libpthread/ChangeLog b/libpthread/ChangeLog index ad567ab..d9debc5 100644 --- a/libpthread/ChangeLog +++ b/libpthread/ChangeLog @@ -1,5 +1,8 @@ 2004-11-01 Marcus Brinkmann <marcus@gnu.org> + * pthread/pt-create.c (__pthread_total): Change type to uatomic32_t. + * pthread/pt-internal.h (__pthread_total): Likewise in declaration. + * 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>. diff --git a/libpthread/pthread/pt-create.c b/libpthread/pthread/pt-create.c index 95df677..8d348fb 100644 --- a/libpthread/pthread/pt-create.c +++ b/libpthread/pthread/pt-create.c @@ -33,7 +33,7 @@ /* The total number of pthreads currently active. This is defined here since it would be really stupid to have a threads-using program that doesn't call `pthread_create'. */ -uatomic_max_t __pthread_total; +uatomic32_t __pthread_total; /* The entry-point for new threads. */ diff --git a/libpthread/pthread/pt-internal.h b/libpthread/pthread/pt-internal.h index af3dd87..436f870 100644 --- a/libpthread/pthread/pt-internal.h +++ b/libpthread/pthread/pt-internal.h @@ -126,7 +126,7 @@ __pthread_dequeue (struct __pthread *thread) element = element->next) /* The total number of threads currently active. */ -extern uatomic_max_t __pthread_total; +extern uatomic32_t __pthread_total; /* The total number of thread IDs currently in use, or on the list of available thread IDs. */ |