摘要:
1 #include 2 #include 3 #include 4 #include 5 #define THREAD_COUNT 12 6 7 void show_thread_policy(int threadno){ 8 int policy; 9 struct sched_param param;10 pthread_getschedparam(pthread_self(), &policy, ¶m);11 switch(policy){12 case SCHED_OTHER:13 ... 阅读全文
posted @ 2013-11-22 17:31
专属9号
阅读(662)
评论(0)
推荐(0)

浙公网安备 33010602011771号