|
Page Speed Optimization Libraries
1.13.35.1
|
#include "atomic_bool.h"
Public Member Functions | |
| AtomicBool () | |
| Guaranteed to be initialized to false. | |
| bool | value () const |
| void | set_value (bool v) |
A boolean flag that can be set atomically and be visible to other threads. Please be extra careful with this — it can go wrong in incomprehensible ways; most of the time, you probably want to use a mutex instead.
1.8.6