Group scheduling and alternatives
Group scheduling and alternatives
Posted Dec 10, 2010 18:38 UTC (Fri) by iabervon (subscriber, #722)In reply to: Group scheduling and alternatives by njs
Parent article: Group scheduling and alternatives
This was, admittedly, a while ago, on a vanilla kernel. But I also didn't want to need any special scheduling capabilities. I'd be okay with dropping the occasional sample under heavy load (so it's not really a real-time critical task), but just sleeping was causing me to drop lots of samples under minimal load.
Posted Dec 20, 2010 1:44 UTC (Mon)
by kevinm (guest, #69913)
[Link]
Group scheduling and alternatives
sched_setscheduler(SCHED_FIFO) combined with the nanosleep() should get you there.