
1 Aug
2005
1 Aug
'05
2:13 a.m.
Jason Hise wrote:
How can I ensure that initialization is performed before main is entered? If I cannot, is there some other way to make initialization of static variables thread-safe? I cannot lock a mutex to manage this, because the mutex lives inside the threading policy instance and the threading policy instance lives in the policy bundle that I am trying to create in the first place.
You might want to look at this thread: http://tinyurl.com/9xe83 Jonathan