Reference
Tuesday, 19 April 2011
Can a thread call multiple synchronized methods on the object of which it hold the lock?
Yes. Once a thread acquires a lock in some object, it may call any other synchronized method of that same object using the lock that it already holds.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment