aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/jogamp/common/util/locks/RecursiveLock.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/java/com/jogamp/common/util/locks/RecursiveLock.java b/src/java/com/jogamp/common/util/locks/RecursiveLock.java
index 9eb9c8c..3e0a873 100644
--- a/src/java/com/jogamp/common/util/locks/RecursiveLock.java
+++ b/src/java/com/jogamp/common/util/locks/RecursiveLock.java
@@ -32,10 +32,13 @@ package com.jogamp.common.util.locks;
* Reentrance capable locking toolkit.
*/
public interface RecursiveLock extends ThreadLock {
- /** Return the number of locks issued to this lock by the same thread.
- * A hold count of 0 identifies this lock as unlocked.<br>
- * A hold count of 1 identifies this lock as locked.<br>
- * A hold count of &gt; 1 identifies this lock as recursively lock.<br>
+ /**
+ * Return the number of locks issued to this lock by the same thread.
+ * <ul>
+ * <li>A hold count of 0 identifies this lock as unlocked.</li>
+ * <li>A hold count of 1 identifies this lock as locked.</li>
+ * <li>A hold count of &gt; 1 identifies this lock as recursively lock.</li>
+ * </ul>
*/
int getHoldCount();