Commit ce2b8d41 authored by Fredrik Molander's avatar Fredrik Molander

change fapi thread

parent 11f44cc2
...@@ -56,13 +56,13 @@ void *aerial_vnf_nr_p7_thread_start(void *ptr) ...@@ -56,13 +56,13 @@ void *aerial_vnf_nr_p7_thread_start(void *ptr)
{ {
// set_thread_priority(79); // set_thread_priority(79);
// int s; int s;
// cpu_set_t cpuset; cpu_set_t cpuset;
// CPU_SET(8, &cpuset); CPU_SET(15, &cpuset);
// s = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); s = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
// if (s != 0) if (s != 0)
// printf("failed to set afinity\n"); printf("failed to set afinity\n");
set_priority(79); set_priority(79);
......
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