3 Aug
2011
3 Aug
'11
7:32 a.m.
On Tue, 02 Aug 2011 19:07:44 +0200, Oliver Seiler
I've generally found that using function-level static with multiple threads is a Bad Idea (including with Boost.Threads) as the object won't get initialized until the function is run for the "first" time, but this initialization isn't generally thread-safe. Just a remark: with gcc it is thread-safe