tmp/tmppx2up8as/{from.md → to.md}
RENAMED
|
@@ -2,12 +2,14 @@
|
|
| 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 |
|
| 10 |
If one thread makes a library call *a* that writes a value to a stream
|
| 11 |
and, as a result, another thread reads this value from the stream
|
| 12 |
through a library call *b* such that this does not result in a data
|
| 13 |
race, then *a*’s write synchronizes with *b*’s read.
|
|
|
|
| 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.
|