Oops! Wrong patch. Attached is the correct one. This, patch implements the POSIX clocks and timers functions. The two standard clocks are defined(CLOCK_REALTIME & CLOCK_MONOTONIC). With this version, nano_sleep() is rolled into clock_nanosleep(). Also a bug fix in clock_nanosleep(). kernel/timer.c is modified to remove the timer_t typedef which conflicts with the POSIX standard definition for this type. The patch introduces a new kernel source (posix-timers.c) which contains most of the code. This implementation defines a timer as a system wide resource with system wide limits on the number of allocated timers. This number can be set at configure time and is defaulted to 3000. There are NO other limits on how many timers a process can have. Kernel version 2.5.42-bk2 Test programs, man pages and readme files are available on the sourceforge high-res-timers site: http://sourceforge.net/projects/high-res-timers/ -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml