使用应用时,无法调整线程优先级 root@firefly:/home/firefly/test# gcc test.c root@firefly:/home/firefly/test# ./a.out policy = SCHED_OTHER Show current configuration of priority max_priority = 0 min_priority = 0 show SCHED_FIFO of priority max_priority = 99 min_priority = 1 show SCHED_RR of priority max_priority = 99 min_priority = 1 show priority of current thread priority = 0 Set thread policy policy = UNKNOWN set SCHED_RR policy policy = UNKNOWN Restore current policy policy = UNKNOWN Hello, world |
-
2.28 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1