Performance tweaks
[nikiroo-utils.git] / src / jexer / TApplication.java
index e9a7a44c62ddb4c9cd53b17a3ca7eee35e8985b8..0a2ab19548f7a1706b3dec7656803bd7c478fb57 100644 (file)
@@ -772,6 +772,9 @@ public class TApplication implements Runnable {
                 // wait until either the backend or the consumer threads have
                 // something to do.
                 try {
+                    if (debugThreads) {
+                        System.err.println("sleep " + timeout + " millis");
+                    }
                     synchronized (this) {
                         this.wait(timeout);
                     }