Output streams with std::cout

Compare the difference between synchronized and non-synchronized access to std::cout.