aboutsummaryrefslogtreecommitdiffstats
path: root/src/Utils.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 11:26:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 11:26:57 +0200
commite48df9cb5ec9e48cd836ec227127f42c5cc99aa1 (patch)
treefc54e01b5397c8c4017170f685e34b2270e2f880 /src/Utils.h
parentbab9d654f028a214e6f3abe8ade1c1da002d25ff (diff)
downloaddabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.tar.gz
dabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.tar.bz2
dabmod-e48df9cb5ec9e48cd836ec227127f42c5cc99aa1.zip
Set SCHED_RR prio for all data processing threads
This includes Modulator, FIR Filter and UHD worker
Diffstat (limited to 'src/Utils.h')
-rw-r--r--src/Utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils.h b/src/Utils.h
index f023646..7f65fa3 100644
--- a/src/Utils.h
+++ b/src/Utils.h
@@ -57,6 +57,8 @@ inline long timespecdiff_us(struct timespec& oldTime, struct timespec& time)
return tv_sec * 1000 + tv_nsec / 1000;
}
+// Set SCHED_RR with priority prio (0=lowest)
+int set_realtime_prio(int prio);
#endif