glibc/nptl/sysdeps/unix/sysv/linux
Roland McGrath 84060bad82 * rt/tst-cpuclock1.c: New file.
* rt/tst-cpuclock2.c: New file.
	* rt/tst-cputimer1.c: New file.
	* rt/tst-cputimer2.c: New file.
	* rt/tst-cputimer3.c: New file.
	* rt/Makefile (tests): Add them.

	* sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
	* sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
	* sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
	(HAS_CPUCLOCK): New macro.
	(clock_getcpuclockid): Function removed.
	#include the new linux file to define it instead.
	* sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
	New function, broken out of ...
	(clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
	(realtime_gettime): New function, broken out of ...
	(clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
	(clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
	* sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
	(SYSDEP_GETTIME_CPUTIME): New macro.
	(SYSDEP_GETTIME): Use both.
	[! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
	out of ...
	(SYSDEP_GETTIME): ... here.  Use it.
	[__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
	(SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
	kernel support and falling back to hp-timing code.
	* sysdeps/posix/clock_getres.c
	[HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
	(clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
	(realtime_getres): New function, broken out of ...
	(clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
	(clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
	* sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
	(SYSDEP_GETRES_CPUTIME): New macro.
	(SYSDEP_GETRES): Use both.
	[! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
	out of ...
	(SYSDEP_GETRES): ... here.  Use it.
	[__NR_clock_getres] (HANDLED_CPUTIME): Define it.
	(SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
	kernel support and falling back to hp-timing code.
	* sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
	CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
	translating to the kernel clockid_t for our own process/thread clock.
2005-04-27 08:03:47 +00:00
..
alpha 2.5-18.1 2007-07-12 18:26:36 +00:00
bits 2005-02-25 Roland McGrath <roland@redhat.com> 2005-02-26 01:33:57 +00:00
i386 Update. 2005-01-26 20:02:05 +00:00
ia64 2.5-18.1 2007-07-12 18:26:36 +00:00
mips MIPS NPTL specific pthreadtypes.h 2005-03-29 19:56:26 +00:00
powerpc 2.5-18.1 2007-07-12 18:26:36 +00:00
s390 2.5-18.1 2007-07-12 18:26:36 +00:00
sh 2.5-18.1 2007-07-12 18:26:36 +00:00
sparc Add sparc64 TLS and NPTL support. 2005-04-14 21:46:37 +00:00
x86_64 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally 2005-03-31 10:02:53 +00:00
aio_misc.h 2.5-18.1 2007-07-12 18:26:36 +00:00
allocrtsig.c Update. 2004-09-20 00:16:11 +00:00
configure 2.5-18.1 2007-07-12 18:26:36 +00:00
createthread.c
fork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fork.h 2.5-18.1 2007-07-12 18:26:36 +00:00
getpid.c Update. 2004-03-24 22:05:34 +00:00
Implies
internaltypes.h [BZ #357] 2004-09-02 18:59:24 +00:00
jmp-unwind.c Update. 2004-10-06 18:09:57 +00:00
kernel-posix-timers.h Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field. 2003-03-28 06:22:13 +00:00
libc_multiple_threads.c Update. 2003-03-13 01:51:12 +00:00
libc_pthread_init.c 2.5-18.1 2007-07-12 18:26:36 +00:00
libc-lowlevellock.c 2003-03-17 Roland McGrath <roland@redhat.com> 2003-03-17 11:22:52 +00:00
lowlevelbarrier.sym
lowlevelcond.sym [BZ #357] 2004-09-02 18:59:24 +00:00
lowlevellock.c Update. 2003-09-22 21:30:25 +00:00
lowlevelrwlock.sym
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_notify.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pt-fork.c
pt-raise.c Update. 2003-12-20 23:39:42 +00:00
pthread_attr_getaffinity.c Update. 2004-03-29 22:04:09 +00:00
pthread_attr_setaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pthread_getaffinity.c Update. 2004-03-29 22:04:09 +00:00
pthread_getcpuclockid.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
pthread_kill.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pthread_mutex_cond_lock.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pthread_setaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pthread_yield.c
raise.c Update. 2004-03-10 05:25:48 +00:00
register-atfork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sem_post.c Update. 2004-09-08 06:09:02 +00:00
sem_timedwait.c Update. 2003-06-08 05:28:14 +00:00
sem_trywait.c Replace __lll_add calls with atomic_exchange_and_add calls respectively. 2003-03-20 10:28:06 +00:00
sem_wait.c Update. 2003-12-11 09:39:06 +00:00
sigtimedwait.c Update. 2003-06-17 22:11:22 +00:00
sigwait.c Update. 2003-06-17 22:11:22 +00:00
sigwaitinfo.c Update. 2003-06-17 22:11:22 +00:00
sleep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
smp.h 2.5-18.1 2007-07-12 18:26:36 +00:00
timer_create.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
timer_delete.c Update. 2003-06-18 19:34:34 +00:00
timer_getoverr.c Update. 2003-06-18 19:34:34 +00:00
timer_gettime.c Update. 2003-06-18 19:34:34 +00:00
timer_routines.c 2.5-18.1 2007-07-12 18:26:36 +00:00
timer_settime.c Update. 2003-06-18 19:34:34 +00:00
unregister-atfork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
unwindbuf.sym Update. 2003-07-01 03:33:06 +00:00
Versions