summaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-07 18:22:11 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-07 18:22:11 +0200
commit5ab51f3672c8d1d2a0d6124179cdbc17823553c6 (patch)
treef1157840a67adbb4cfa6b6bcdfd16b14f804308a /src/MemlessPoly.cpp
parentbb089c9f1f08f73cfc3eb97304ab4d6864fa174c (diff)
downloaddabmod-5ab51f3672c8d1d2a0d6124179cdbc17823553c6.tar.gz
dabmod-5ab51f3672c8d1d2a0d6124179cdbc17823553c6.tar.bz2
dabmod-5ab51f3672c8d1d2a0d6124179cdbc17823553c6.zip
Set MemlessPoly worker thread scheduling
Diffstat (limited to 'src/MemlessPoly.cpp')
-rw-r--r--src/MemlessPoly.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MemlessPoly.cpp b/src/MemlessPoly.cpp
index 5d1c02d..1e19071 100644
--- a/src/MemlessPoly.cpp
+++ b/src/MemlessPoly.cpp
@@ -275,6 +275,9 @@ static void apply_lut(
void MemlessPoly::worker_thread(MemlessPoly::worker_t *workerdata)
{
+ set_realtime_prio(1);
+ set_thread_name("MemlessPoly");
+
while (true) {
worker_t::input_data_t in_data;
workerdata->in_queue.wait_and_pop(in_data);