|
@@ -79,18 +79,18 @@ type __atomic_exchange(type* atomic_obj, type desired, int mem_ord);
|
|
|
|
|
|
<font color="#C80000">// type must be trivially copyable</font>
|
|
|
<font color="#C80000">// Behavior is defined for mem_success = [0 ... 5],</font>
|
|
|
-<font color="#C80000">// mem_falure <= mem_success</font>
|
|
|
-<font color="#C80000">// mem_falure != 3</font>
|
|
|
-<font color="#C80000">// mem_falure != 4</font>
|
|
|
+<font color="#C80000">// mem_failure <= mem_success</font>
|
|
|
+<font color="#C80000">// mem_failure != 3</font>
|
|
|
+<font color="#C80000">// mem_failure != 4</font>
|
|
|
bool __atomic_compare_exchange_strong(type* atomic_obj,
|
|
|
type* expected, type desired,
|
|
|
int mem_success, int mem_failure);
|
|
|
|
|
|
<font color="#C80000">// type must be trivially copyable</font>
|
|
|
<font color="#C80000">// Behavior is defined for mem_success = [0 ... 5],</font>
|
|
|
-<font color="#C80000">// mem_falure <= mem_success</font>
|
|
|
-<font color="#C80000">// mem_falure != 3</font>
|
|
|
-<font color="#C80000">// mem_falure != 4</font>
|
|
|
+<font color="#C80000">// mem_failure <= mem_success</font>
|
|
|
+<font color="#C80000">// mem_failure != 3</font>
|
|
|
+<font color="#C80000">// mem_failure != 4</font>
|
|
|
bool __atomic_compare_exchange_weak(type* atomic_obj,
|
|
|
type* expected, type desired,
|
|
|
int mem_success, int mem_failure);
|