mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Update.
* sysdeps/pthread/timer_routines.c (init_module): Use THREAD_MAXNODES threads.
This commit is contained in:
parent
5593827387
commit
c0f79a04a7
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user