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