Пример #1
0
 public synchronized void displayDequeue(int queueIndex, Process process) {
   osgui.dequeue(queueIndex, process.getName());
   System.out.println(
       "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdqueue!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! "
           + process.getName());
 }
Пример #2
0
 public synchronized void dislayEnqueue(int queueIndex, Process process) {
   // display in the queue in the GUI
   osgui.enqueue(
       queueIndex, process.getName(), process.getRemainingServiceTime(), process.getServiceTime());
 }