【文件属性】:
文件名称:有时间片,优先级的进程调度
文件大小:4KB
文件格式:TXT
更新时间:2012-05-30 17:34:07
时间片,优先级
有时间片,优先级的进程调度
struct PCB{
int pname;
int pri;
int runtime;
int waittime;
struct PCB *next;
}pcb[7];
/*高优先级就绪队列头指针*/
struct PCB *Hready;
/*低优先级队列头指针*/
struct PCB *Lready;
/*等待队列头指针*/
struct PCB *wait;