This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/linuxthreads/sysdeps/pthread timer_settime.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/linuxthreads/sysdeps/pthread timer_settime.c
- From: drepper at sourceware dot cygnus dot com
- Date: 14 Jun 2000 06:12:46 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.cygnus.com 00/06/13 23:12:46
Modified files:
linuxthreads/sysdeps/pthread: timer_settime.c
Log message:
(timer_settime): Takes advantage of new return value from
__timer_thread_queue_timer to avoid waking up timer thread unnecessarily.
(timer_settime): Tighter critical regions: avoids making system calls while
holding timer mutex, and a few computations were moved outside of the mutex
as well.
Use appropriate list unlink function in all places: idempotent one for timers,
non-idempotent one for thread nodes.