I have the a simple program.
int main() { std::atomic b = true; ConcurrentQueue queue; std::thread thread( [&
There recently was a thread with the same problem, but I can't find it anymore.
Basically, there's a deadlock in VS's runtime library when you have a static lifetime object that tries to end a thread in its destructor.