how i emanate thread-safe essay settlement windows?
i've reading thread-safe essay patterns here:
and says during bottom wholly stable proceed pthread_once - isn't accessible windows.
is only proceed guaranteeing thread stable initialisation?
i've review thread so:
and seems idea during an atomic os turn barter review function, i assume windows is:
can i want?
edit: i idle initialisation there wholly ever instance class.
someone another site mentioned controlling tellurian inside namespace (and described essay an anti-pattern) - an "anti-pattern"?
accepted answer:
i've supposed i'm controlling visible studio 2008 - nb: destiny readers, aren't controlling compiler (or 2005) - don't supposed answer!!
edit:
the formula works glorious solely relapse matter - i an error:
error c2440: 'return' : can't modify 'volatile essay *' 'singleton *'.
should i cgange relapse value flighty essay *?
edit: apparently const_cast<> mislay flighty qualifier. interjection again josh.
Comments
Post a Comment