操作系统时间片轮转算法与优先级调度算法.docxVIP

  • 29
  • 0
  • 约4.57千字
  • 约 10页
  • 2021-12-09 发布于北京
  • 举报

操作系统时间片轮转算法与优先级调度算法.docx

PAGE PAGE 10 / 10 #include stdio.h #include stdlib.h #include string.h typedef struct node { char name[10]; /*进程标识符*/ int prio; /*进程优先数*/ int round; /*进程时间轮转时间片*/ int cputime; /*进程占用CPU 时间*/ int needtime; /*进程到完成还要的时间*/ int count; /*计数器*/ char state; /*进程的状态*/ struct node *next; /*链指针*/ }PCB; PC

文档评论(0)

1亿VIP精品文档

相关文档