Thread safe cout technique. Am I missing something? Thread safe cout technique. Am I missing something? multithreading multithreading