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

Method lock

include/tsutil/Bravo.h:123–128  ·  view source on GitHub ↗

/ Shared locking

Source from the content-addressed store, hash-verified

121 // Shared locking
122 //
123 void
124 lock()
125 {
126 _mutex->lock_shared(_token);
127 _owns = true;
128 }
129
130 bool
131 try_lock()

Callers 2

lockMethod · 0.45
lockAllMethod · 0.45

Calls 1

lock_sharedMethod · 0.45

Tested by

no test coverage detected