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

Method try_lock

include/tsutil/Bravo.h:229–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 }
228
229 bool
230 try_lock()
231 {
232 bool r = _mutex.underlying.try_lock();
233 if (!r) {
234 return false;
235 }
236
237 _revoke();
238
239 return true;
240 }
241
242 void
243 unlock()

Callers

nothing calls this directly

Calls 1

try_lockMethod · 0.45

Tested by

no test coverage detected