From 472022708ee08ac559dde540891eb2f8c2a9afcf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Feb 2003 23:31:11 +0000 Subject: Update. 2003-02-14 Ulrich Drepper * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread counter and only call __exit_thread if this is not the last thread. --- nptl/pthreadP.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nptl/pthreadP.h') diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 3223291..784f624 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; -- cgit v1.1