|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.server.Kernel
Process kernel. This is a basic kernel. It does not run in a monitor process. It does not route commands or events.
EPG - Initial - 17May03
EPG - Support new VMProcess scheme - 25Jul03
EPG - Switch PCB table to a Vector - 28Jul03
Field Summary | |
static int |
nextpid
The next pid to get. |
static int |
PROCESS_CLEAN_THRESHOLD
|
Constructor Summary | |
Kernel()
Default constructor |
Method Summary | |
protected void |
finalize()
finalizer We will kill all the processors to make sure nothing ghosts. |
VMProcess |
get()
Get a usable process. |
VMProcess |
get(java.lang.String processImpl)
Get a usable process. |
VMProcess |
getProcess(int pid)
Get a process by pid. |
java.util.List |
getProcessList()
Get an list of active processes. |
void |
init(SystemContext c)
Initialize. |
void |
scrubTable()
Force the PCB table to clean |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int nextpid
public static final int PROCESS_CLEAN_THRESHOLD
Constructor Detail |
public Kernel()
Method Detail |
public void init(SystemContext c)
c
- is an instance of SystemContextSystemContext
public VMProcess get()
public VMProcess get(java.lang.String processImpl)
processImpl
- class name for process implementation
public java.util.List getProcessList()
public VMProcess getProcess(int pid)
pid
- the pid to get.
public void scrubTable()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |