Lower priority to allow 100% load needed for ignoring ENOBUFS
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 3 Dec 2010 17:01:59 +0000 (18:01 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 3 Dec 2010 17:01:59 +0000 (18:01 +0100)
latester/latester.c

index c728f58..f57de3a 100644 (file)
@@ -532,7 +532,7 @@ void *measure_thread(void *arg)
                        pfd[i].events = POLLIN;
        }
 
-       set_sched_policy_and_prio(SCHED_FIFO, 99);
+       set_sched_policy_and_prio(SCHED_FIFO, 40);
 
 #define SEND()                                                         \
        do {                                                            \