Exemplo n.º 1
0
 public void update(Process process, Instruction instruction)
 {
     this.process = process;
     this.instruction = instruction;
 }
Exemplo n.º 2
0
 void initiateProcesses(int numberOfProcesses)
 {
     processes = new Process[numberOfProcesses];
     for (int index = 0; index < numberOfProcesses; index++)
         processes[index] = new Process(index);
 }