📄 drcb.java
字号:
/*
* DRCB.java
*
* Created on 2006年12月13日, 下午7:04
*
*The Device Request Control Block for the system
*History 2006年12月13日 ver 0.1.0 class create
* first release
*
*/
package ossimulation;
/**
*
* @author Decell.Zhou
*/
public class DRCB {
/** Creates a new instance of DRCB */
public DRCB(int argRequestTime,PCB argRequestProcess) {
requestTime = argRequestTime;
requestProcess = argRequestProcess;
}
/**get the time that the process request to impropriate the device*/
public int getRequestTime(){
return requestTime;
}
/**get the PCB of the request process*/
public PCB getRequestProcess(){
return requestProcess;
}
private int requestTime;
private PCB requestProcess;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -