my manager walked past me and said "hey Fiora, what do you know about the execution order of function-local static destructors?" I'm scared
-
-
Replying to @FioraAeterna
the problem: user calls exit() on program while a driver thread is running. destructors trigger underneath the thread. everything explodes
8 replies 7 retweets 14 likes -
Replying to @FioraAeterna
static destructors are literally broken for use in threaded library code I love C++
5 replies 9 retweets 24 likes -
Replying to @FioraAeterna
@FioraAeterna You could have stopped at "static destructors are literally broken". Most of the hell of C++ goes away w/out static non-POD.1 reply 0 retweets 1 like
@FioraAeterna One easy out is to always use _Exit, never exit. ;-)
12:47 PM - 7 Jan 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.