Re: [patch] Re: how to link to hrtimers in the kernel

From: Brian Pomerantz
Date: Tue Oct 07 2008 - 11:04:21 EST


On Mon, Oct 06, 2008 at 01:16:15PM -0400, George Nychis wrote:
>
> I am trying to sleep at the microsecond level, which ssleep and msleep
> cannot provide. I couldn't find any other nanosleep method in the kernel.
>
> I found information by searching the net on using jiffies to accomplish
> sleep periods, but that is not high enough in resolution.
>
> I'd greatly appreciate any feedback.
>

Is there any reason you can't use udelay()/ndelay()?


BAPper
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/