From d790bc347dce29327b69260b5323d87d4fb7e936 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 25 Sep 1999 17:11:06 +0000 Subject: Update. * manager.c (__linuxthreads_pthread_threads_max): New variable. * specific.c (__linuxthreads_pthread_keys_max): New variable. 1999-09-23 Ulrich Drepper * specific.c: Move definitions of struct pthread_key_struct and destr_function to ... * internals.h: ...here. --- linuxthreads/manager.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linuxthreads/manager.c') diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index f1a5899404..b481fc890c 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -38,6 +38,9 @@ struct pthread_handle_struct __pthread_handles[PTHREAD_THREADS_MAX] = { { LOCK_INITIALIZER, &__pthread_initial_thread, 0}, { LOCK_INITIALIZER, &__pthread_manager_thread, 0}, /* All NULLs */ }; +/* For debugging purposes put the maximum number of threads in a variable. */ +const int __linuxthreads_pthread_threads_max = PTHREAD_THREADS_MAX; + /* Indicate whether at least one thread has a user-defined stack (if 1), or if all threads have stacks supplied by LinuxThreads (if 0). */ int __pthread_nonstandard_stacks = 0; -- cgit v1.2.3