MCPcopy Create free account
hub / github.com/apache/trafficserver / TryLockGuard

Method TryLockGuard

src/tscpp/api/InterceptPlugin.cc:336–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334{
335public:
336 TryLockGuard(Mutex &m) : _m(m), _isLocked(m.try_lock()) {}
337
338 bool
339 isLocked() const

Callers

nothing calls this directly

Calls 1

try_lockMethod · 0.45

Tested by

no test coverage detected