Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::AtomicBool Class Reference

#include "atomic_bool.h"

Public Member Functions

 AtomicBool ()
 Guaranteed to be initialized to false.
 
bool value () const
 
void set_value (bool v)
 

Detailed Description

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.


The documentation for this class was generated from the following file: