[linux-audio-dev] microsleeping

2005-05-12 Thread Tim Blechmann
hi all.. 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) ... thanks tim -- mailto:[EMAIL

Re: [linux-audio-dev] microsleeping

2005-05-12 Thread Lee Revell
On Thu, 2005-05-12 at 22:58 +0200, Tim Blechmann wrote: hi all.. 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? You can't sleep less than 1ms because that

Re: [linux-audio-dev] microsleeping

2005-05-12 Thread Paul Davis
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

Re: [linux-audio-dev] microsleeping

2005-05-12 Thread Lee Revell
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,

Re: [linux-audio-dev] microsleeping

2005-05-12 Thread Paul Davis
Why do you say it's only a possibility? AFAIK the high res timer patch works fine on most hardware... the last person i know to try (it was some time ago) was jesse chappell, and it messed up other things on his system in subtle but noticeable ways. the kernel may also impose limits on user