操作系統課程設計_進程調度演示源程序
#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
標簽:
include
typedef
stdlib
string
上傳時間:
2016-08-09
上傳用戶:鳳臨西北