This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes singleton,static,volatile in multithreaded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "singleton,static,volatile in multithreaded" Watch "singleton,static,volatile in multithreaded" New topic
Author

singleton,static,volatile in multithreaded

prakash Venugopal
Greenhorn

Joined: Dec 28, 2011
Posts: 8
can you explain singleton objects, static variable,volatile variable in multithreading environment?
Chris Hurst
Ranch Hand

Joined: Oct 26, 2003
Posts: 409
    
    1

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.


"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: singleton,static,volatile in multithreaded
 
Similar Threads
Volatile
Volatile Keyworld
Regarding Singleton design pattern
Question regarding Singleton pattern
volatile