This, the third part of the high-res-timers code, implements the POSIX clocks and timers functions. This code takes advantage of the prior two parts to allow timers with high resolution. Clocks are defined to allow either 1/HZ resolution (CLOCK_REALTIME & CLOCK_MONOTONIC) or 1 micro second resolution (CLOCK_REALTIME_HR & CLOCK_MONOTONIC_HR). With this version, nano_sleep() is rolled into clock_nanosleep(). Also a bug fix in clock_nanosleep(). Most of this code is located in kernel/itime.c with support bits in several parts of the kernel. 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.41-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