9#ifndef SQUID_SRC_BASE_LOCK_H
10#define SQUID_SRC_BASE_LOCK_H
35#if defined(LOCKCOUNT_DEBUG)
36 debugs(0,1,
"Incrementing this " <<
static_cast<void*
>(
this) <<
" from count " <<
count_);
45#if defined(LOCKCOUNT_DEBUG)
46 debugs(0,1,
"Decrementing this " <<
static_cast<void*
>(
this) <<
" from count " <<
count_);
66#define RefCountable virtual Lock
uint32_t count_
number of references currently being tracked
uint32_t LockCount() const
Inspect the current count of references.
#define debugs(SECTION, LEVEL, CONTENT)