Javamex

Java discussion forum to accompany the Javamex web site.

Pallav Shyam's Discussions

lock.lock v/s synchronized

Started this discussion. Last reply by Pallav Shyam Apr 12, 2012. 2 Replies

The thread calling synchronzed(obj) acquires and owns that objects monitor till it releases it. Does lock.lock also behaves in a similar fashion. I tried calling lock.wait() after lock.lock() using…Continue

notify vs notifyall

Started this discussion. Last reply by happy goofy Apr 11, 2012. 6 Replies

Queue.java Attached is a file containing a simple producer consumer scenario that I…Continue

Tags: notifyAll, notify

Gifts Received

Gift

Pallav Shyam has not received any gifts yet

Give a Gift

 

Pallav Shyam's Page

Profile Information

What other languages do you use apart from Java?
Other

Comment Wall

You need to be a member of Javamex to add comments!

Join Javamex

  • No comments yet!
 
 
 

© 2024   Created by Neil Coffey.   Powered by

Badges  |  Report an Issue  |  Terms of Service