MCPcopy 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.ccFile · 0.45
TryLockGuardMethod · 0.45
try_lockMethod · 0.45

Calls 1

try_lock_sharedMethod · 0.45

Tested by

no test coverage detected