12 2020 档案
摘要:#include <stdio.h> #include <stdlib.h> struct PCB { int pid;//进程标识符 int rr;//已运行时间 int time;//进程要求运行时间 char sta;//进程的状态 struct PCB *next;//链接指针 }; str
阅读全文
摘要:#include <stdio.h> #include <malloc.h> #define buffersize 5//假设有5个缓冲区 int processnum=0;//初始化产品数量 struct pcb /* 定义进程控制块PCB */ { int flag; int numlabel;
阅读全文
摘要:#include <stdio.h> #include <string.h> #define False 0 #define True 1 #define Process_num 5 //系统中所有进程数量 typedef struct { int r1; int r2; int r3; }Reso
阅读全文

浙公网安备 33010602011771号