On 11/24/05, Indraneel Mukherjee <mukherjee.indraneel@xxxxxxxxx> wrote: > Hi All, > > Sorry for my previous posting. > I think i need to re-frame my question. > > A) > Is it possible to obtain nanosecond/microsecond resolution in > select/pselect when the timer tick for 2.6.xx in 1millisec (i386) ?? > Doesn't that mean that pselect can only round up the delay specified > in nano seconds to the nearest milli second? No. And yes. > B) > How can i ensure that pselect sleeps for only some micro/nano seconds ?? You cannot, except by changing do_select to a busy-loop, at least in the mainline kernel. You could also try bumping up the value of HZ, but this is known to cause issues. Perhaps you should take a look at the rt/kthrt patchset. Thanks, Nish -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/