From Jason Turner

[new.delete.dataraces]

Diff to HTML by rtfpessoa

tmp/tmpnboqpiva/{from.md → to.md} RENAMED
@@ -1,13 +1,14 @@
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
 
 
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 `aligned_alloc`,
6
+ `calloc`, and `malloc`, the library versions of `operator delete`, user
7
+ replacement versions of `operator delete`, the C standard library
8
+ function `free`, and the C standard library function `realloc` shall not
9
+ introduce a data race ([[res.on.data.races]]). Calls to these functions
10
+ that allocate or deallocate a particular unit of storage shall occur in
11
+ a single total order, and each such deallocation call shall happen
12
+ before ([[intro.multithread]]) the next allocation (if any) in this
13
+ order.
14