MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _shouldAcquireLocks

Function _shouldAcquireLocks

src/serializers/encoder/v13/encode_graph.c:12–14  ·  view source on GitHub ↗

Determine whether we are in the context of a bgsave, in which case the process is independent and should not acquire locks

Source from the content-addressed store, hash-verified

10// Determine whether we are in the context of a bgsave, in which case
11// the process is independent and should not acquire locks
12static inline bool _shouldAcquireLocks(void) {
13 return !Globals_Get_ProcessIsChild();
14}
15
16static void _RdbSaveHeader
17(

Callers 1

RdbSaveGraph_v13Function · 0.85

Calls 1

Tested by

no test coverage detected