Is operator<<(ostream&, obj) on two different streams thread safe? Is operator<<(ostream&, obj) on two different streams thread safe? multithreading multithreading