public class ClockInterruptHandler extends java.lang.Object implements InterruptHandler
| Modifier and Type | Field and Description |
|---|---|
static ClockInterruptHandler |
instance |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
void |
handle() |
static void |
initialize(Scheduler scheduler,
int[] stack) |
void |
register() |
void |
setScheduler(Scheduler sch) |
void |
startClockHandler(Process process) |
void |
yield() |
public static ClockInterruptHandler instance
public void handle()
handle in interface InterruptHandlerpublic void disable()
disable in interface InterruptHandlerpublic void enable()
enable in interface InterruptHandlerpublic static void initialize(Scheduler scheduler, int[] stack)
public void yield()
public void register()
register in interface InterruptHandlerpublic void startClockHandler(Process process)
public void setScheduler(Scheduler sch)