about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-08 21:13:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-08 21:13:20 +0000
commitc0f79a04a778d0a42ffd437fcd37739d5839a716 (patch)
tree20edff84d25e65036cb5da29d5064f25a196ef38 /linuxthreads
parent559382738799bf3bef8d81c2091bd713ec8c1c9e (diff)
downloadglibc-c0f79a04a778d0a42ffd437fcd37739d5839a716.tar.gz
glibc-c0f79a04a778d0a42ffd437fcd37739d5839a716.tar.xz
glibc-c0f79a04a778d0a42ffd437fcd37739d5839a716.zip
Update.
	* sysdeps/pthread/timer_routines.c (init_module): Use
	THREAD_MAXNODES threads.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/pthread/timer_routines.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9571ef0caf..168d1f2583 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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
diff --git a/linuxthreads/sysdeps/pthread/timer_routines.c b/linuxthreads/sysdeps/pthread/timer_routines.c
index cd99c9f12f..becb110010 100644
--- a/linuxthreads/sysdeps/pthread/timer_routines.c
+++ b/linuxthreads/sysdeps/pthread/timer_routines.c
@@ -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);