Boost logo

Boost :

From: Jason Hise (chaos_at_[hidden])
Date: 2005-09-13 11:46:22

I think it would be safe to create the mutex as a global variable, with
the documented requirement that the program not spawn any threads until
after it enters main. Quick question though: Are global variables
destroyed only when the last thread exits (ensuring that the point of
destruction of all globals is atomic), or do they die when the main
thread exits?


Boost list run by bdawes at, gregod at, cpdaniel at, john at