Class ProcSys

java.lang.Object
  |
  +--ProcSys

public class ProcSys
extends java.lang.Object

The ProcSys class represents the process subsystem of an operating system.


Method Summary
static void exec(java.lang.String com)
          exec(com) starts a process that executes the image in the file named com.
static PCB getCurrentProcess()
          getCurrentProcess() returns the process that is currently executing on the CPU.
static void startScheduling()
          startScheduling() starts scheduling the processes that are scheduled in the scheduler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

exec

public static void exec(java.lang.String com)
exec(com) starts a process that executes the image in the file named com.


startScheduling

public static void startScheduling()
startScheduling() starts scheduling the processes that are scheduled in the scheduler.


getCurrentProcess

public static PCB getCurrentProcess()
getCurrentProcess() returns the process that is currently executing on the CPU.