MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / aeAcquireLock

Function aeAcquireLock

src/ae.cpp:854–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852}
853
854void aeAcquireLock()
855{
856 g_forkLock.releaseRead();
857 g_lock.lock(tl_worker);
858 g_forkLock.acquireRead();
859}
860
861void aeAcquireForkLock()
862{

Callers 15

keysCommandCoreFunction · 0.85
keysCommandFunction · 0.85
WorkerThreadMainMethod · 0.85
~FreeMemoryLazyFreeMethod · 0.85
killRDBChildFunction · 0.85
endSnapshotAsyncMethod · 0.85
freeTombstoneObjectsMethod · 0.85
trimStateMethod · 0.85
flushDataMethod · 0.85

Calls 3

releaseReadMethod · 0.80
acquireReadMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected