We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22d9937 + 19178df commit 9609183Copy full SHA for 9609183
opal/include/opal/sys/atomic_stdc.h
@@ -241,7 +241,7 @@ typedef atomic_flag opal_atomic_lock_t;
241
*/
242
static inline void opal_atomic_lock_init(opal_atomic_lock_t *lock, bool value)
243
{
244
- atomic_flag_clear(lock);
+ atomic_flag_clear_explicit(lock, memory_order_relaxed);
245
}
246
247
static inline int opal_atomic_trylock(opal_atomic_lock_t *lock)
0 commit comments