06 2016 档案

实验三(FCFS ,SJF,HRRN)
摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<conio.h>#include <time.h>#define N 30int File();int input();void quit();typedef struct J 阅读全文

posted @ 2016-06-22 13:08 01-李嘉秀 阅读(469) 评论(0) 推荐(0)

实验四 用信号量解决进程互斥与同步问题
摘要:#include<stdio.h> #include<stdlib.h> #include<math.h> #include<time.h> #define N 100 typedef struct process { int num; }P; P a[N]; int wordtime=0; voi 阅读全文

posted @ 2016-06-21 12:46 01-李嘉秀 阅读(657) 评论(0) 推荐(0)

实验二 (3)最短作业优先调度
摘要:#include<stdio.h>#define Time int#define M 100typedef struct process{ char name[M];//进程名 int priority;//优先数 int reachtime;//到达时间 int needtime;//需要时间 i 阅读全文

posted @ 2016-06-15 13:27 01-李嘉秀 阅读(480) 评论(0) 推荐(0)

导航