aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/junit/com/jogamp')
-rw-r--r--src/junit/com/jogamp/test/junit/util/SingletonInstance.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/test/junit/util/SingletonInstance.java b/src/junit/com/jogamp/test/junit/util/SingletonInstance.java
index 5277511..997742c 100644
--- a/src/junit/com/jogamp/test/junit/util/SingletonInstance.java
+++ b/src/junit/com/jogamp/test/junit/util/SingletonInstance.java
@@ -74,6 +74,9 @@ public class SingletonInstance {
if(tryLock()) {
return;
}
+ if(DEBUG && 0==i) {
+ System.err.println("Wait for lock " + file);
+ }
i++;
Thread.sleep(poll_ms);
} while ( i < timeout_ms / poll_ms ) ;