summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog1
-rw-r--r--linuxthreads/specific.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index fcb5c81c14..d83f63c242 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -2,6 +2,7 @@
 
 	* manager.c (__linuxthreads_pthread_threads_max): New variable.
 	* specific.c (__linuxthreads_pthread_keys_max): New variable.
+	(__linuxthreads_pthread_key_2ndlevel_size): New variable.
 
 	* condvar.c (pthread_cond_timedwait_relative): Never return with
 	EINTR.  Patch by Andreas Schwab.
diff --git a/linuxthreads/specific.c b/linuxthreads/specific.c
index 83ea283ba5..0c302d4b41 100644
--- a/linuxthreads/specific.c
+++ b/linuxthreads/specific.c
@@ -27,6 +27,7 @@ static struct pthread_key_struct pthread_keys[PTHREAD_KEYS_MAX] =
 
 /* For debugging purposes put the maximum number of keys in a variable.  */
 const int __linuxthreads_pthread_keys_max = PTHREAD_KEYS_MAX;
+const int __linuxthreads_pthread_key_2ndlevel_size = PTHREAD_KEY_2NDLEVEL_SIZE;
 
 /* Mutex to protect access to pthread_keys */