标签: linux kernel
getpriority()和p1.sched_priority之间有什么区别?也就是说,
getpriority()
p1.sched_priority
getpriority(Prio_process,pid);
和
struct sched_param p; sched_getparam(pid,&p); p.sched_priority;