| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0 Thanked 5 Times in 5 Posts Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5
|
What is a calling Thread?Is it a thread which has already acquired lock on the Object
wait() method, and notify() and notifyAll() methods. These three must only be called when the calling thread has acquired the lock.
Friends, My question is: What is a calling Thread? Is it a thread which has already acquired lock on the Object? |
|
|
|
|
|
#2 (permalink) |
|
Moderator
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57 Thanked 78 Times in 63 Posts Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17
|
Re: THREAD QUESTION.
Yes it means, it is a thread which has already acquired a lock on an object or a resource, these three methods can only be called on a thread which has already acquired the lock
Let me know your questions Thank You
__________________
M0h@n |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some QTP Faqs, Useful........ | kiran2710 | Testing Tools & QA | 4 | 24-10-08 01:18 AM |
| J2EE - What method is invoked to cause an object to begin executing as a separate thread? | preethisingh | Java Interview / Technical Questions | 3 | 16-10-07 11:49 AM |
| J2EE-What happens when a thread cannot acquire a lock on an object? | preethisingh | Java Interview / Technical Questions | 1 | 24-01-07 06:43 PM |
| java JSP | naga | JAVA Technologies | 4 | 21-08-06 05:03 PM |
| Whats the difference between thesr | shilpa | VB / ASP.NET Technologies | 5 | 08-03-06 12:09 PM |