about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index b244d87686..033e5adc5f 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -314,6 +314,7 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr,
                                  &guardaddr, &guardsize) == 0)
         break;
     }
+  __pthread_handles_num++;
   /* Allocate new thread identifier */
   pthread_threads_counter += PTHREAD_THREADS_MAX;
   new_thread_id = sseg + pthread_threads_counter;