19 #ifndef PAGESPEED_KERNEL_BASE_MANUALLY_REF_COUNTED_H_
20 #define PAGESPEED_KERNEL_BASE_MANUALLY_REF_COUNTED_H_
22 #include "base/logging.h"
26 namespace net_instaweb {
54 if (n_others_active == 0) {
64 DCHECK_EQ(0, n_active.
value());
int32 BarrierIncrement(int32 amount)
Definition: atomic_int32.h:101
Definition: atomic_int32.h:72
void DecrementRefs()
Definition: manually_ref_counted.h:52
Definition: manually_ref_counted.h:31
int32 NoBarrierIncrement(int32 amount)
Definition: atomic_int32.h:95
void IncrementRefs()
Definition: manually_ref_counted.h:38
int32 value() const
Return the value currently stored. Has acquire semantics (see above).
Definition: atomic_int32.h:83
virtual ~ManuallyRefCounted()
Definition: manually_ref_counted.h:63