2003/09/24 07:33:32
[org.ibex.core.git] / src / org / xwt / Message.java
index ba856cb..c8d60cc 100644 (file)
@@ -33,7 +33,10 @@ public interface Message {
         /** true iff latency-sensitive UI work is being done; signals the networking code to yield */
         public static volatile boolean working = false;
 
-        private Q() { start(); }
+        private Q() { }
+
+        /** invoked by Main */
+        public static void startQ() { singleton.start(); }
 
         /** pending events */
         private static Queue events = new Queue(50);
@@ -86,7 +89,6 @@ public interface Message {
                     if (Log.on) Log.log(this, "caught throwable in Q.run(); this should never happen");
                     if (Log.on) Log.log(this, "    currentlyPerforming == " + currentlyPerforming);
                     if (Log.on) Log.log(this, "    working             == " + working);
-                    // FIXME - this currently calls compiledfunction.toString which gives more info than we need
                     if (Log.on) Log.log(this, t);
                     if (Log.on) Log.log(this, "resuming Q loop");
                 }