Saved Bookmarks
| 1. |
What Happens When A Thread Cannot Acquire A Lock On An Object? |
|
Answer» 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. 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. |
|