Re: [linux-audio-dev] microsleeping

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Fri May 13 2005 - 01:53:23 EEST

On Thu, 2005-05-12 at 17:50 -0400, Paul Davis wrote:
> >i'm trying to sleep for some very low time slices ... about 100 to 1000
> >us ...
> >but i can't get below about 1 ms ... are there any workarounds to sleep
> >for very small time slices?
> >
> >i tested nanosleep(), usleep() and select(0, 0, 0, 0, &timout) ...
>
> on a normal kernel, there's no way around this. the only possibility
> is with a kernel running the hi-res timer patch. even then, its only a
> possibility.

Why do you say it's only a possibility? AFAIK the high res timer patch
works fine on most hardware...

Lee
Received on Fri May 13 04:15:13 2005

This archive was generated by hypermail 2.1.8 : Fri May 13 2005 - 04:15:14 EEST