java - Actual use of lockInterruptibly for a ReentrantLock -


what use method lockinterruptibly? have read api it's not clear me. express in other words?

the logic same interruptible blocking methods: allows thread react interrupt signal sent thread.

how particular feature used application design. example, can used kill contingent of threads in pool waiting aquire lock.


Comments