diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 23:31:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 23:31:11 +0000 |
commit | 472022708ee08ac559dde540891eb2f8c2a9afcf (patch) | |
tree | f30a25b8039eab48c7b6e2737a5f856bdb853b78 /nptl/pthreadP.h | |
parent | e320ef46a7283517aeba1decc20ffb38ed131281 (diff) | |
download | glibc-472022708ee08ac559dde540891eb2f8c2a9afcf.tar glibc-472022708ee08ac559dde540891eb2f8c2a9afcf.tar.gz glibc-472022708ee08ac559dde540891eb2f8c2a9afcf.tar.bz2 glibc-472022708ee08ac559dde540891eb2f8c2a9afcf.zip |
Update.
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
counter and only call __exit_thread if this is not the last thread.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 3223291dab..784f62416f 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -61,6 +61,9 @@ extern int __concurrency_level attribute_hidden; extern struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX]; hidden_proto (__pthread_keys) +/* Number of threads running. */ +extern unsigned int __nptl_nthreads attribute_hidden; + /* The library can run in debugging mode where it performs a lot more tests. */ extern int __pthread_debug attribute_hidden; |