Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

thread cannot acquire a lock on an object

Fri Nov 07, 2008 12:01 am

What happens when a thread cannot acquire a lock on an object?



Re: thread cannot acquire a lock on an object

Fri Nov 07, 2008 12:02 am

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.

Post a reply
  Related Posts  to : thread cannot acquire a lock on an object
 what is object's lock and which objects have locks ?     -  
 daemon thread - What is the use of deamon thread?     -  
 lock be acquired on a class     -  
 Thread Safe     -  
 Multi Thread Program     -  
 initial state of thread     -  
 invokes a thread's run() method     -  
 Thread of Event Dispatcher     -  
 thread state when it terminates its processing     -  
 high-level thread states     -