文件名称:diaodu
介绍说明--下载内容均来自于网络,请自行研究使用
最短作业优先(抢占和非抢占
c语言程序基于DOS环境,是单线程工作。故要在DOS真正模仿在实际应用中的最短作业优先调度(抢占式),是难实现的。
本程序在DOS环境下实现了进程运行与程序操作的模拟同步进行。主要是应用虚拟运行算法,计算某个时候该谁占用CPU和谁已经终止了。利用虚拟运行,可以实现一种虚拟的同步操作。
-The shortest operation priority (to seize and non-preemptive c language program based on the DOS environment is single-threaded work. Therefore, to mimic the real DOS in practical applications of the shortest operating priority scheduling (preemptive), it is difficult to achieve. This procedure in the DOS environment realize the process under the operation and procedures for the operation of simulated simultaneously. mainly the application of virtual operating algorithm, the calculation of a CPU when the occupier who is and who has been terminated. using virtual run, you can realize a virtual synchronization.
c语言程序基于DOS环境,是单线程工作。故要在DOS真正模仿在实际应用中的最短作业优先调度(抢占式),是难实现的。
本程序在DOS环境下实现了进程运行与程序操作的模拟同步进行。主要是应用虚拟运行算法,计算某个时候该谁占用CPU和谁已经终止了。利用虚拟运行,可以实现一种虚拟的同步操作。
-The shortest operation priority (to seize and non-preemptive c language program based on the DOS environment is single-threaded work. Therefore, to mimic the real DOS in practical applications of the shortest operating priority scheduling (preemptive), it is difficult to achieve. This procedure in the DOS environment realize the process under the operation and procedures for the operation of simulated simultaneously. mainly the application of virtual operating algorithm, the calculation of a CPU when the occupier who is and who has been terminated. using virtual run, you can realize a virtual synchronization.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
diaodu
......\process.c
......\process.exe
......\最短作业优先(抢占和非抢占).doc
......\process.c
......\process.exe
......\最短作业优先(抢占和非抢占).doc