Page Speed Optimization Libraries  1.2.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::AtomicBool Class Reference

#include "atomic_bool.h"

List of all members.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines