]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 8 Jun 2000 21:13:20 +0000 (21:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 8 Jun 2000 21:13:20 +0000 (21:13 +0000)
* sysdeps/pthread/timer_routines.c (init_module): Use
THREAD_MAXNODES threads.

linuxthreads/ChangeLog
linuxthreads/sysdeps/pthread/timer_routines.c

index 9571ef0caf3142879cfd4415012b50669aa6335a..168d1f2583b03c8851292e1d3d0d1ce7324ae423 100644 (file)
@@ -1,5 +1,8 @@
 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/pthread/timer_routines.c (init_module): Use
+       THREAD_MAXNODES threads.
+
        * sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid.
        * sysdeps/pthread/timer_create.c: Fill in creator_pid.
        * sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
index cd99c9f12fc01b13f2e25511e636e1290c25f8e9..becb110010d9372556f82b097b2ed3b4e41af21a 100644 (file)
@@ -163,7 +163,7 @@ init_module (void)
       __timer_array[i].inuse = 0;
     }
 
-  for (i = 0; i < THREAD_MAXNODES - 1; ++i)
+  for (i = 0; i < THREAD_MAXNODES; ++i)
     list_append (&thread_free_list, &thread_array[i].links);
 
   thread_init (&__timer_signal_thread, 0);