[linux-audio-dev] microsleeping

Paul Davis paul at linuxaudiosystems.com
Thu May 12 21:50:41 UTC 2005


>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. 

--p






More information about the Linux-audio-dev mailing list