摘要: 多级反馈队列调度算法没有实现,其他均已实现,由于自己注释写的较少,所以不是很好的把代码表现出来!下面附上实现的进程调度的代码: 1 #include 2 #include 3 #include 4 #include 5 6 #define maxnum 10 7 #define getpch(type) (type* malloc(sizeof(type))) 8 typedef struct pcb PCB; 9 struct pcb{ 10 int id; 11 char name[10]; 12 int time_start;//到达时... 阅读全文
posted @ 2013-11-03 10:38 Levi.duan 阅读(378) 评论(0) 推荐(0) 编辑