編寫一程序,可以創(chuàng)建若干個(gè)虛擬進(jìn)程,并對(duì)若干個(gè)虛擬進(jìn)程進(jìn)行調(diào)度,調(diào)度策略為時(shí)間片輪轉(zhuǎn)。
虛擬程序的描述:
虛擬指令的格式: 操作命令 操作時(shí)間
其中,操作命令有以下幾種:
l C : 表示在CPU上計(jì)算
l I :表示輸入
l O:表示輸出
l W:表示等待
l H:表示進(jìn)程結(jié)束
操作時(shí)間代表該操作命令要執(zhí)行多長(zhǎng)時(shí)間
假設(shè)I/O設(shè)備的數(shù)量沒有限制
CoLIN 人工語(yǔ)言模擬 漢化版 2002年8月9日
原作者
布朗 alan j. brown
15 Kinloch Road
Renfrew
Scotland
PA4 0RJ
alan@barc0de.demon.co.uk
http://www.barc0de.demon.co.uk/
漢化者
陳輝
主頁(yè): http://go2debug.yeah.net
郵件: go2debug@hotmail.com
ICQ: 149054569
簡(jiǎn)介
通過菜單可以清空數(shù)據(jù)庫(kù)。
程序會(huì)從你的輸入中學(xué)習(xí),如果你不想這樣,就請(qǐng)關(guān)閉學(xué)習(xí)功能。
原作者聲明
This program is giftware. If you like it send me something nice.
Copyright is fully reserved by Alan J. Brown, any program developed from the CoLIN source code must give Alan J. Brown appropriate credit.
更多問題
請(qǐng)到我的主頁(yè) http://go2debug.yeah.net
或者給我發(fā)信 go2debug@hotmail.com
另外在布朗的主頁(yè)上有留言板