tmp/tmpif5owh6f/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,13 @@
|
|
| 1 |
#### Data races <a id="new.delete.dataraces">[[new.delete.dataraces]]</a>
|
| 2 |
|
| 3 |
For purposes of determining the existence of data races, the library
|
| 4 |
versions of `operator new`, user replacement versions of global
|
| 5 |
-
`operator new`,
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
argument and by its return value. Calls to these functions that allocate
|
| 14 |
-
or deallocate a particular unit of storage shall occur in a single total
|
| 15 |
-
order, and each such deallocation call shall happen before the next
|
| 16 |
-
allocation (if any) in this order.
|
| 17 |
|
|
|
|
| 1 |
#### Data races <a id="new.delete.dataraces">[[new.delete.dataraces]]</a>
|
| 2 |
|
| 3 |
For purposes of determining the existence of data races, the library
|
| 4 |
versions of `operator new`, user replacement versions of global
|
| 5 |
+
`operator new`, the C standard library functions `calloc` and `malloc`,
|
| 6 |
+
the library versions of `operator delete`, user replacement versions of
|
| 7 |
+
`operator delete`, the C standard library function `free`, and the C
|
| 8 |
+
standard library function `realloc` shall not introduce a data race (
|
| 9 |
+
[[res.on.data.races]]). Calls to these functions that allocate or
|
| 10 |
+
deallocate a particular unit of storage shall occur in a single total
|
| 11 |
+
order, and each such deallocation call shall happen before (
|
| 12 |
+
[[intro.multithread]]) the next allocation (if any) in this order.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|