(__linuxthreads_pthread_keys_max): New variable.
authordrepper <drepper>
Sat, 25 Sep 1999 17:08:43 +0000 (17:08 +0000)
committerdrepper <drepper>
Sat, 25 Sep 1999 17:08:43 +0000 (17:08 +0000)
linuxthreads/specific.c

index 6db8043..83ea283 100644 (file)
@@ -25,6 +25,9 @@
 static struct pthread_key_struct pthread_keys[PTHREAD_KEYS_MAX] =
   { { 0, NULL } };
 
+/* For debugging purposes put the maximum number of keys in a variable.  */
+const int __linuxthreads_pthread_keys_max = PTHREAD_KEYS_MAX;
+
 /* Mutex to protect access to pthread_keys */
 
 static pthread_mutex_t pthread_keys_mutex = PTHREAD_MUTEX_INITIALIZER;