|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Privilege.InterruptPrivilege
An interface that provides access to some private Interrupt methods.
Method Summary | |
---|---|
void |
schedule(long when,
String type,
Runnable handler)
Schedule an interrupt to occur at some time in the future. |
void |
tick(boolean inKernelMode)
Advance the simulated time. |
Method Detail |
---|
void schedule(long when, String type, Runnable handler)
when
- the number of ticks until the interrupt should
occur.type
- a name for the type of interrupt being
scheduled.handler
- the interrupt handler to call.void tick(boolean inKernelMode)
inKernelMode
- true if the current thread is running kernel
code, false if the current thread is running
MIPS user code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |