[Midnightbsd-cvs] src [9827] trunk/include/stdatomic.h: update header
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Apr 30 08:43:05 EDT 2018
Revision: 9827
http://svnweb.midnightbsd.org/src/?rev=9827
Author: laffer1
Date: 2018-04-30 08:43:04 -0400 (Mon, 30 Apr 2018)
Log Message:
-----------
update header
Modified Paths:
--------------
trunk/include/stdatomic.h
Modified: trunk/include/stdatomic.h
===================================================================
--- trunk/include/stdatomic.h 2018-04-30 12:42:17 UTC (rev 9826)
+++ trunk/include/stdatomic.h 2018-04-30 12:43:04 UTC (rev 9827)
@@ -322,7 +322,7 @@
#define atomic_flag_clear_explicit(object, order) \
atomic_store_explicit(object, 0, order)
#define atomic_flag_test_and_set_explicit(object, order) \
- atomic_compare_exchange_strong_explicit(object, 0, 1, order, order)
+ atomic_exchange_explicit(object, 1, order)
#define atomic_flag_clear(object) \
atomic_flag_clear_explicit(object, memory_order_seq_cst)
More information about the Midnightbsd-cvs
mailing list