MCPcopy Create free account
hub / github.com/apache/brpc / mutex

Method mutex

src/bvar/utils/lock_timer.h:283–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 mutex_type* mutex() { return _mutex; }
284 bool owns_lock() const { return _lock.owns_lock(); }
285 operator bool() const { return static_cast<bool>(_lock); }
286

Callers 2

LockGuardBaseMethod · 0.45
UniqueLockBaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected