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

Method lock

src/tscore/EventNotify.cc:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void
149EventNotify::lock()
150{
151#if defined(HAVE_EVENTFD) && TS_USE_EPOLL == 1
152// do nothing
153#else
154 ink_mutex_acquire(&m_mutex);
155#endif
156}
157
158bool
159EventNotify::trylock()

Callers 9

ScopedWriterMethod · 0.45
wait_for_callbackMethod · 0.45
insertSessionMethod · 0.45
getSessionBufferMethod · 0.45
getSessionMethod · 0.45
preproc_thread_mainMethod · 0.45
flush_thread_mainMethod · 0.45
_RegistryAccessorMethod · 0.45
cleanupTransactionPluginFunction · 0.45

Calls 1

ink_mutex_acquireFunction · 0.85

Tested by 1

wait_for_callbackMethod · 0.36