Setting priority with pthread_attr_setschedparam doesn't seem to change NICE value

前端 未结 0 1326
一生所求
一生所求 2021-01-22 03:07

I would like to create a thread that has lower priority than its parent.

I came up with following code with a hope that the thread has 5 for its NICE value.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题