コード例 #1
0
ファイル: SimulationGui.java プロジェクト: kyrrelm/OS
 /**
  * Controls which process is being shown as the process active in the I/O device.
  *
  * @param p The process that is currently active, or null if the I/O device is idle.
  */
 public void setIoActive(Process p) {
   io.setActiveProcess(p);
 }
コード例 #2
0
ファイル: SimulationGui.java プロジェクト: kyrrelm/OS
 /**
  * Controls which process is being shown as the process active in the CPU.
  *
  * @param p The process that is currently active, or null if the CPU is idle.
  */
 public void setCpuActive(Process p) {
   cpu.setActiveProcess(p);
 }