Boydston
Wednesday, 14 August 2013
Why do we need a lock to be reentrant?
Why do we need a lock to be reentrant?
I understand (somewhat) the features of the jdk 5 ReentrantLock here
But why we would want a 're-entrant' lock? i.e if a Thread already has the
lock on an Object, why would it need to acquire it again?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment