|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-07-31 21:13:09
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:
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk