![]() SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Atomically sets and clears a bit flag. More...
#include <rw/tools/atomicflag.h>
Public Member Functions | |
| void | clear (RWAtomicMemoryOrder order=rw_mem_order_seq_cst) |
| void | clear (RWAtomicMemoryOrder order=rw_mem_order_seq_cst) volatile |
| More... | |
| bool | testAndSet (RWAtomicMemoryOrder order=rw_mem_order_seq_cst) |
| bool | testAndSet (RWAtomicMemoryOrder order=rw_mem_order_seq_cst) volatile |
| More... | |
Related Functions | |
(Note that these are not member functions.) | |
| #define | RW_ATOMIC_FLAG_INIT |
RWAtomicFlag manages a bit flag (set or cleared) allowing for atomic manipulation of the bit, including providing test-and-set functionality.
|
inline |
Unsets the flag.
|
inline |
Unsets the flag.
|
inline |
Sets the flag and returns true if the flag was previously set, false otherwise.
|
inline |
Sets the flag and returns true if the flag was previously set, false otherwise.
|
related |
Initializes an RWAtomicFlag to a cleared state.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.