From Jason Turner

[iostreams.threadsafety]

Diff to HTML by rtfpessoa

tmp/tmpkr90y4ba/{from.md → to.md} RENAMED
@@ -1,15 +1,14 @@
1
  ### Thread safety <a id="iostreams.threadsafety">[[iostreams.threadsafety]]</a>
2
 
3
- Concurrent access to a stream object ([[string.streams]], 
4
- [[file.streams]]), stream buffer object ([[stream.buffers]]), or C
5
- Library stream ([[c.files]]) by multiple threads may result in a data
6
- race ([[intro.multithread]]) unless otherwise specified (
7
- [[iostream.objects]]).
8
 
9
- [*Note 1*: Data races result in undefined behavior (
10
- [[intro.multithread]]). — *end note*]
11
 
12
  If one thread makes a library call *a* that writes a value to a stream
13
  and, as a result, another thread reads this value from the stream
14
  through a library call *b* such that this does not result in a data
15
  race, then *a*’s write synchronizes with *b*’s read.
 
1
  ### Thread safety <a id="iostreams.threadsafety">[[iostreams.threadsafety]]</a>
2
 
3
+ Concurrent access to a stream object ([[string.streams]],
4
+ [[file.streams]]), stream buffer object [[stream.buffers]], or C Library
5
+ stream [[c.files]] by multiple threads may result in a data race
6
+ [[intro.multithread]] unless otherwise specified [[iostream.objects]].
 
7
 
8
+ [*Note 1*: Data races result in undefined behavior
9
+ [[intro.multithread]]. — *end note*]
10
 
11
  If one thread makes a library call *a* that writes a value to a stream
12
  and, as a result, another thread reads this value from the stream
13
  through a library call *b* such that this does not result in a data
14
  race, then *a*’s write synchronizes with *b*’s read.