2 ms·
A loop calling nanosleep() to wait for the next interval, with the process using a real-time scheduler policy (SCHED_FIFO or SCHED_RR) should be stable enough.
by caf 9y ago
A loop calling nanosleep() to wait for the next interval, with the process using a real-time scheduler policy (SCHED_FIFO or SCHED_RR) should be stable enough.