What are my options for making a singleton thread safe?
Is this easy to do?
yes, just use synchronize keyword....
Message Posting Guidelines In These Forums, Please read these before posting any question.
Web site: webapplikations.com
Web Resources Page:Web Resources
Does this synchronization take place in the definition of the singleton class itself or in the class that instantiats it?
In methods in the singleton.
There are currently 1 users browsing this thread. (0 members and 1 guests)