ue_stack: bump priority of stack thread

the stack thread should really run with the next highest priority after
sync + phy workers to make sure it gets enough CPU
This commit is contained in:
Andre Puschmann 2020-07-01 17:15:57 +02:00
parent 6654453e22
commit bd0c13aad0
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ private:
gw_interface_stack* gw = nullptr;
// Thread
static const int STACK_MAIN_THREAD_PRIO = 4;
static const int STACK_MAIN_THREAD_PRIO = 4; // Next lower priority after PHY workers
srslte::task_multiqueue pending_tasks;
int sync_queue_id = -1, ue_queue_id = -1, gw_queue_id = -1, stack_queue_id = -1, background_queue_id = -1;
srslte::task_thread_pool background_tasks; ///< Thread pool used for long, low-priority tasks