diff options
author | Sven Gothel <sgothel@jausoft.com> | 2011-06-11 02:54:32 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2011-06-11 02:54:32 +0200 |
commit | aba5f79ed62128b74962c1efa15a3f921d66b3e0 (patch) | |
tree | abce41d70dccf08a240bc958ee4966b1686aa176 /src/java/com/jogamp/common/util/locks/LockExt.java | |
parent | 410fcb6242d1dcf98d6f4eb94f9409d656fc0caa (diff) |
SingletonInstance Enhancements / Minor Lock/LockExt API Change (isLocked moved up)
We learned that FileChannel.lock() is not reliable on at least GNU/Linux + Sun's JVM implementation,
hence we need a ServerSocket implementation.
Since this code may be useful to others, it has been promoted to GlueGen.
- Abstract SingletonInstance
- Implement Lock interface
- SingletonInstance Spezialisation: FileLock and ServerSocket
Minor API Change: LockExt.isLocked() -> Lock.isLocked()
Diffstat (limited to 'src/java/com/jogamp/common/util/locks/LockExt.java')
-rw-r--r-- | src/java/com/jogamp/common/util/locks/LockExt.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/locks/LockExt.java b/src/java/com/jogamp/common/util/locks/LockExt.java index 42a01c6..860c03a 100644 --- a/src/java/com/jogamp/common/util/locks/LockExt.java +++ b/src/java/com/jogamp/common/util/locks/LockExt.java @@ -38,8 +38,6 @@ public interface LockExt extends Lock { */ Thread getOwner(); - boolean isLocked(); - boolean isLockedByOtherThread(); boolean isOwner(); |