reentrantlock
-
-
解锁另一个线程 java 拥有的锁 我有一个LockManager,可以管理多个线程的锁。有时线程是坏男孩,我必须杀死他们并要求LockManager释放他们所有的锁。但是,由于我在java中使用ReentrantLock,这是不可能的,我无法解锁另一个线程
-
Actual use of lockInterruptibly for a ReentrantLock What do you actually use for this method ? I have read the however it's not very clear to me. Could anybody express it in other words?
-
标签