>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