Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 29-01-07, 08:11 PM   #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 radhika743 is on a distinguished road
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?
radhika743 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30-01-07, 06:21 PM   #2 (permalink)
Moderator
 
t_mohan's Avatar
 
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 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
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
t_mohan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

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
What’s the difference between thesr shilpa VB / ASP.NET Technologies 5 08-03-06 12:09 PM


All times are GMT +6.5. The time now is 02:26 PM.





Search Engine Optimization by vBSEO 3.1.0