/** 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);
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");
}