Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
854
void aeAcquireLock()
855
{
856
g_forkLock.releaseRead();
857
g_lock.lock(tl_worker);
858
g_forkLock.acquireRead();
859
}
860
861
void aeAcquireForkLock()
862
{
Callers
15
keysCommandCore
Function · 0.85
keysCommand
Function · 0.85
bulkDirectStorageInsert
Method · 0.85
WorkerThreadMain
Method · 0.85
removeClientAsyncWrites
Method · 0.85
~FreeMemoryLazyFree
Method · 0.85
killRDBChild
Function · 0.85
endSnapshotAsync
Method · 0.85
freeTombstoneObjects
Method · 0.85
iterate_threadsafe_core
Method · 0.85
trimState
Method · 0.85
flushData
Method · 0.85
Calls
3
releaseRead
Method · 0.80
acquireRead
Method · 0.80
lock
Method · 0.45
Tested by
no test coverage detected