Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

singleton,static,volatile in multithreaded

 
prakash Venugopal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you explain singleton objects, static variable,volatile variable in multithreading environment?
 
Chris Hurst
Ranch Hand
Posts: 443
3
C++ Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just want a general overview google is your friend all of this is covered in lots of blogs.

If you want the precise answer google the java memory model its all explained in depth there , if you have any questions as its not an easy read post them here and I'll answer them.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic