操作系統(tǒng)課程設(shè)計(jì)_進(jìn)程調(diào)度演示源程序
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
typedef struct node
{
char name[10] /*進(jìn)程標(biāo)識符*/
int prio /*進(jìn)程優(yōu)先數(shù)*/
int round /*進(jìn)程時(shí)間輪轉(zhuǎn)時(shí)間片*/
int cputime /*進(jìn)程占用CPU時(shí)間*/
int needtime /*進(jìn)程到完成還要的時(shí)間*/
int count /*計(jì)數(shù)器*/
char state /*進(jìn)程的狀態(tài)*/
struct node *next /*鏈指針*/
}PCB
標(biāo)簽:
include
typedef
stdlib
string
上傳時(shí)間:
2016-08-09
上傳用戶:鳳臨西北