Hello Amit/All, If the timer granularity cannot go below 10ms then how is the functionality of the nanosleep and usleep system calls in Linux implemented ? Is it an approximate ? How do I know the clock ticks in a Linux box(i386) Like /proc/cpuinfo etc. Is the timer granularity in the kernel different? I feel all the above are newbie questions sorry abt it TIA kind regards, daniel marian. > Daniel, > > It probably won't work, that is the timeout will occur only at 10ms, > that is per tick(timer interrupt) > > Amit > > > Daniel Marian wrote: > > Hello, > > The tick in Linux is 10ms. > > In my userspace program can I have a timeout value less than this granularity. > > > > Example a timeout value of 4 milliseconds. > > If this is possible, how is this taken care by the kernel ? > > > > thanks, > > daniel. > > > -- Get your free email from www.linuxmail.org Powered by Outblaze -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/