文件名称:jincheng
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
java进程调度,处理机调度算法的实现
1. 设定系统中有五个进程,每一个进程用一个进程控制块表示。
2. 输入每个进程的“优先数”和“要求运行时间”,
3. 为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4. 处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5. 若要求运行时间为零,则将其状态置为“结束”,且退出队列。
6. 运行所设计程序,显示或打印逐次被选中进程的进程名以及进程控制块的动态变化过程。
-java process scheduling, processor scheduling algorithm. Set system of five processes, each process with a process control block, said. Two. " Priority number" input of each process and the requirements of running time, 3. For scheduling convenience, the five process given the number of priority beginning with the largest connected into the ready queue. With a unit pointed out that the head of the queue process, the pointer pointed out that the connection queue. 4. Processor scheduling is always the first process of the election team run. Using the dynamic priority algorithm, the process each time you run priority number minus " 1" , run time minus " 1" . 5 Require run-time is zero, it is state set to " end" , and exit the queue. 6. Run the design process, display or print the process of successive selected process name and process control block dynamic process.
1. 设定系统中有五个进程,每一个进程用一个进程控制块表示。
2. 输入每个进程的“优先数”和“要求运行时间”,
3. 为了调度方便,将五个进程按给定的优先数从大到小连成就绪队列。用一单元指出队列首进程,用指针指出队列的连接情况。
4. 处理机调度总是选队首进程运行。采用动态优先数算法,进程每运行一次优先数就减“1”,同时将运行时间减“1”。
5. 若要求运行时间为零,则将其状态置为“结束”,且退出队列。
6. 运行所设计程序,显示或打印逐次被选中进程的进程名以及进程控制块的动态变化过程。
-java process scheduling, processor scheduling algorithm. Set system of five processes, each process with a process control block, said. Two. " Priority number" input of each process and the requirements of running time, 3. For scheduling convenience, the five process given the number of priority beginning with the largest connected into the ready queue. With a unit pointed out that the head of the queue process, the pointer pointed out that the connection queue. 4. Processor scheduling is always the first process of the election team run. Using the dynamic priority algorithm, the process each time you run priority number minus " 1" , run time minus " 1" . 5 Require run-time is zero, it is state set to " end" , and exit the queue. 6. Run the design process, display or print the process of successive selected process name and process control block dynamic process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jincheng\.classpath
........\.project
........\bin\diaodu\course.class
........\...\......\fasdf.class
........\...\......\run.class
........\src\diaodu\fasdf.java
........\...\......\run.java
........\bin\diaodu
........\src\diaodu
........\bin
........\src
jincheng
........\.project
........\bin\diaodu\course.class
........\...\......\fasdf.class
........\...\......\run.class
........\src\diaodu\fasdf.java
........\...\......\run.java
........\bin\diaodu
........\src\diaodu
........\bin
........\src
jincheng