C++ iostreams: Unexpected but legal multithreaded behaviour – Articles | Hacker News Reader