Commit 8be4978a authored by Robert Schmidt's avatar Robert Schmidt

Increase priority for thread-pool threads

For certain processing, e.g., in the case of FH 7.2, we need to ensure
that critical L1 processing happens fast. Try to force speedy processing
with this high priority.
parent 07d35320
...@@ -151,7 +151,7 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name ...@@ -151,7 +151,7 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
// set the thread name for debugging // set the thread name for debugging
sprintf(pool->allthreads->name,"%s%d_%d",tname,pool->nbThreads,pool->allthreads->coreID); sprintf(pool->allthreads->name,"%s%d_%d",tname,pool->nbThreads,pool->allthreads->coreID);
threadCreate(&pool->allthreads->threadID, one_thread, (void *)pool->allthreads, threadCreate(&pool->allthreads->threadID, one_thread, (void *)pool->allthreads,
pool->allthreads->name, pool->allthreads->coreID, OAI_PRIORITY_RT); pool->allthreads->name, pool->allthreads->coreID, OAI_PRIORITY_RT_MAX);
pool->nbThreads++; pool->nbThreads++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment