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

Function TSMutexLockTry

src/api/InkIOCoreAPI.cc:298–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298TSReturnCode
299TSMutexLockTry(TSMutex mutexp)
300{
301 sdk_assert(sdk_sanity_check_mutex(mutexp) == TS_SUCCESS);
302 ProxyMutex *proxy_mutex = reinterpret_cast<ProxyMutex *>(mutexp);
303 return (MUTEX_TAKE_TRY_LOCK(proxy_mutex, this_ethread()) ? TS_SUCCESS : TS_ERROR);
304}
305
306void
307TSMutexUnlock(TSMutex mutexp)

Callers 7

accept_handlerFunction · 0.85
transform_handlerFunction · 0.85
handle_dnsFunction · 0.85
read_denylistFunction · 0.85
cancelMethod · 0.85

Calls 2

sdk_sanity_check_mutexFunction · 0.85
this_ethreadFunction · 0.85