[concurrency-interest] Race condition on singleton

Rémi Forax forax at univ-mlv.fr
Sun Dec 12 07:41:57 EST 2010


On 12/12/2010 10:31 AM, Paul McLachlan wrote:
> In my experience, problems like this are caused by circular references 
> between static initializers in different classes, causing one of the 
> classes to necessarily see the other in a half-constructed state.  If 
> you haven't already, I'd suggest carefully looking from that angle.

Or a virtual call in a middle of a constructor.

>
> Regards,
> Paul

cheers,
Rémi



More information about the Concurrency-interest mailing list