From 26213a16473ae2fb9e3dde71b9ee5e8b7b65394b Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 27 May 2021 20:56:36 -0400 Subject: [PATCH] chore: try prio with nice 1 --- runtime/src/listener_thread.c | 2 +- runtime/src/worker_thread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/listener_thread.c b/runtime/src/listener_thread.c index d0d7888..903fd79 100644 --- a/runtime/src/listener_thread.c +++ b/runtime/src/listener_thread.c @@ -80,7 +80,7 @@ listener_thread_main(void *dummy) generic_thread_initialize(); /* Set my priority */ - // runtime_set_pthread_prio(pthread_self(), 0); + runtime_set_pthread_prio(pthread_self(), 1); while (true) { /* diff --git a/runtime/src/worker_thread.c b/runtime/src/worker_thread.c index 52bd77f..cf4a805 100644 --- a/runtime/src/worker_thread.c +++ b/runtime/src/worker_thread.c @@ -47,7 +47,7 @@ worker_thread_main(void *argument) worker_thread_idx = *(int *)argument; /* Set my priority */ - // runtime_set_pthread_prio(pthread_self(), 0); + runtime_set_pthread_prio(pthread_self(), 1); scheduler_runqueue_initialize();