Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ try_lock
Method
try_lock
include/tsutil/Bravo.h:130–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
128
}
129
130
bool
131
try_lock()
132
{
133
_owns = _mutex->try_lock_shared(_token);
134
return _owns;
135
}
136
137
// not implemented yet
138
bool try_lock_for() = delete;
Callers
3
test_Bravo.cc
File · 0.45
TryLockGuard
Method · 0.45
try_lock
Method · 0.45
Calls
1
try_lock_shared
Method · 0.45
Tested by
no test coverage detected