summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/jogamp/common/util/locks/SingletonInstance.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/locks/SingletonInstance.java b/src/java/com/jogamp/common/util/locks/SingletonInstance.java
index 6b38f05..825098d 100644
--- a/src/java/com/jogamp/common/util/locks/SingletonInstance.java
+++ b/src/java/com/jogamp/common/util/locks/SingletonInstance.java
@@ -142,6 +142,9 @@ public abstract class SingletonInstance implements Lock {
protected String infoPrefix(long currentMillis) {
return "SLOCK [T "+Thread.currentThread().getName()+" @ "+currentMillis+" ms";
}
+ protected String infoPrefix() {
+ return infoPrefix(System.currentTimeMillis());
+ }
private final long poll_ms;
private boolean locked = false;