* sysdeps/pthread/timer_routines.c (init_module): Use
	THREAD_MAXNODES threads.
This commit is contained in:
Ulrich Drepper 2000-06-08 21:13:20 +00:00
parent 5593827387
commit c0f79a04a7
2 changed files with 4 additions and 1 deletions

View 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

View 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);