diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2004-11-01 17:28:43 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-06 22:40:14 +0200 |
commit | 905902fe736354fa553aea0e38e52bc294f84e92 (patch) | |
tree | 313cbbb784588b9d671d1e37c1eb52da345168c1 /pthread | |
parent | 7c600777057893b7e48b10963dca2444f25f9217 (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.
Diffstat (limited to 'pthread')
-rw-r--r-- | pthread/pt-create.c | 2 | ||||
-rw-r--r-- | pthread/pt-internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c index 95df677e..8d348fb9 100644 --- a/pthread/pt-create.c +++ b/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/pthread/pt-internal.h b/pthread/pt-internal.h index af3dd875..436f8703 100644 --- a/pthread/pt-internal.h +++ b/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. */ |