Saturday, April 7, 2012

What happens when thread is not able to aquire lock?

If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.

No comments:

Post a Comment