projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
99d79f1
)
add more debug logging to Scheduler
author
adam
<adam@megacz.com>
Wed, 7 Apr 2004 20:36:34 +0000
(20:36 +0000)
committer
adam
<adam@megacz.com>
Wed, 7 Apr 2004 20:36:34 +0000
(20:36 +0000)
darcs-hash:
20040407203634
-5007d-
b7d84c97c5ae95c2b41000288ff603a20fec6d28
.gz
src/org/ibex/Scheduler.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/Scheduler.java
b/src/org/ibex/Scheduler.java
index
9b39509
..
09487bd
100644
(file)
--- a/
src/org/ibex/Scheduler.java
+++ b/
src/org/ibex/Scheduler.java
@@
-13,7
+13,7
@@
public class Scheduler {
private static Scheduler singleton;
public static interface Task { public abstract void perform() throws IOException, JSExn; }
private static Scheduler singleton;
public static interface Task { public abstract void perform() throws IOException, JSExn; }
- public static void add(Task t) { Scheduler.runnable.append(t); }
+ public static void add(Task t) { Log.debug(Scheduler.class, "scheduling " + t); Scheduler.runnable.append(t); }
public static void init() { if (singleton == null) (singleton = Platform.getScheduler()).run(); }
private static Task current = null;
public static void init() { if (singleton == null) (singleton = Platform.getScheduler()).run(); }
private static Task current = null;
@@
-74,6
+74,7
@@
public class Scheduler {
s._mousey = s.mousey;
}
}
s._mousey = s.mousey;
}
}
+ Log.debug(Scheduler.class, "performing " + current);
current.perform();
}
renderAll();
current.perform();
}
renderAll();