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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -