[iostreams.threadsafety] (original) (raw)

If one thread makes a library call a that writes a value to a stream and, as a result, another thread reads this value from the stream through a library call b such that this does not result in a data race, then_a_'s write synchronizes with_b_'s read.