资 源 简 介
本程序实现FCFS先来先服务,SPF短进程优先,FPF_Reaved抢占式高优先级,TimePiece时间片轮转这四种进程调度算法。
程序运行时根据提示选择相应进程调度算法,然后调用函数GetRandProc(LPVOID lpParam)(程序专门为该函数开辟新的线程)产生随机进程并将其插入到就绪队列中然后再用相应的进程调度算法调度进程运行。
-the program FCFS first-come first-serve, SPF short process priority, Preemptive FPF_Reaved high-priority, TimePiece time to rotate the four-process scheduling algorithm. Running time prompted the selection process scheduling algorithm, then the function call GetRandProc (LPVOID lpParam) (specialized procedures for the letter several open up new threads) random process and will be inserted into its place queue Then the corresponding process scheduling algorithm scheduling The process runs.