Need some clarification about singleton pattern -
does singleton design pattern make sure 1 single object reference or there chance/possibility of more 1 ref of object while implementing singleton pattern, think in case of multi threading there chance of more 1 object have implemented singleton pattern.
please help.
it possible threading cause problems singleton. can find comprehensive set of solutions making singletons thread safe here:
Comments
Post a Comment