Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
{
335
public:
336
TryLockGuard(Mutex &m) : _m(m), _isLocked(m.try_lock()) {}
337
338
bool
339
isLocked() const
Callers
nothing calls this directly
Calls
1
try_lock
Method · 0.45
Tested by
no test coverage detected