文件名称:9
介绍说明--下载内容均来自于网络,请自行研究使用
操作系统课程设计_进程调度演示源程序
#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 -Operating system curriculum design process scheduling demo source _# Include stdio.h# Include stdlib.h# Include string.h typedef struct node (char name [10]/* process identifier*/int prio/* process priority number*/int round/* process time rotation time slice*/int cputime/* process occupy CPU time*/int needtime/* process to be completed but also the time*/int count/* counter*/char state/* process status*/struct node* next/* Chain pointer* /) PCB
#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 -Operating system curriculum design process scheduling demo source _# Include stdio.h# Include stdlib.h# Include string.h typedef struct node (char name [10]/* process identifier*/int prio/* process priority number*/int round/* process time rotation time slice*/int cputime/* process occupy CPU time*/int needtime/* process to be completed but also the time*/int count/* counter*/char state/* process status*/struct node* next/* Chain pointer* /) PCB
(系统自动生成,下载前可以参看下载内容)
下载文件列表
9.cpp