mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Update.
* sysdeps/pthread/timer_routines.c (init_module): Use THREAD_MAXNODES threads.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2000-06-08 Ulrich Drepper <drepper@redhat.com>
|
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/posix-timer.h (struct timer_node): Add creator_pid.
|
||||||
* sysdeps/pthread/timer_create.c: Fill in creator_pid.
|
* sysdeps/pthread/timer_create.c: Fill in creator_pid.
|
||||||
* sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
|
* sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
|
||||||
|
@@ -163,7 +163,7 @@ init_module (void)
|
|||||||
__timer_array[i].inuse = 0;
|
__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);
|
list_append (&thread_free_list, &thread_array[i].links);
|
||||||
|
|
||||||
thread_init (&__timer_signal_thread, 0);
|
thread_init (&__timer_signal_thread, 0);
|
||||||
|
Reference in New Issue
Block a user