Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

atomic_flag_test_and_set_explicit Function

Sets the bool flag in an atomic_flag object to true, within the specified memory_order constraints.

inline bool atomic_flag_test_and_set_explicit(
   volatile atomic_flag *Flag,
   memory_order Order
) _NOEXCEPT;
inline bool atomic_flag_test_and_set_explicit(
   atomic_flag *Flag,
   memory_order Order
) _NOEXCEPT;

Flag

A pointer to an atomic_flag object.

Order

A memory_order.

The initial value of Flag.

Header: atomic

Namespace: std

Show:
© 2015 Microsoft