Friday, May 11, 2012

how to use explicit locks in java

we have Lock Interface provided more flexibility than normal Synchronized
using

lock.lock()
---
---
--
lock.unlock()

No comments:

Post a Comment