|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmoss.kernel.MTimer
public class MTimer
this class is used to provide process timeouts in MOSS. The implementation is somewhat grim, but without a mechanism for absolute time in milli-seconds, the one-thread implementation would suffer incremental-error problems (Java's timeout is "more or less" ...)
| Constructor Summary | |
|---|---|
MTimer()
|
|
| Method Summary | |
|---|---|
static void |
add_to_timer_queue(MProcess p,
long millis)
called to add a process to the timer queue |
static boolean |
del_from_timer_queue(MProcess p)
called to remove a process from the timer queue |
static void |
init_timer()
called to initialise the timer mechanism |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTimer()
| Method Detail |
|---|
public static void init_timer()
public static void add_to_timer_queue(MProcess p,
long millis)
p - process to addmillis - timeout in milli-secondspublic static boolean del_from_timer_queue(MProcess p)
p - process to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||