DEADLINE scheduling policy not found
问题 I want to implement the DEADLINE scheduling policy in C. I know the feature is implemented since Linux 3.14.10 and I'm using Ubuntu 14.04 Linux #### 3.17.0-031700-lowlatency #201410060605 SMP PREEMPT which should be recent enough. I develop the program with Eclipse (launched as sudo). I've defined _GNU_SOURCE and included sched.h and I'm still unable to use the keyword SCHED_DEADLINE , to define a struct sched_attr or to use function like sched_getattr . #define _GNU_SOURCE #include <sched.h>