On Fri, Mar 05, 2010 at 04:18:55AM +0100, Michael Niedermayer wrote: > Also usleep() could be tried when sched_yield() doesnt do what we want it > to. If we want a quick solution, just sleeping for 1 ms or so should work fine for almost all cases I think. And not waste insane amounts of CPU time and power.