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

Function GraphContext_IncreaseRefCount

src/graph/graphcontext.c:50–56  ·  view source on GitHub ↗

increase graph context ref count by 1

Source from the content-addressed store, hash-verified

48
49// increase graph context ref count by 1
50inline void GraphContext_IncreaseRefCount
51(
52 GraphContext *gc
53) {
54 ASSERT(gc != NULL);
55 __atomic_fetch_add(&gc->ref_count, 1, __ATOMIC_RELAXED);
56}
57
58// decrease graph context ref count by 1
59inline void GraphContext_DecreaseRefCount

Callers 8

_CreateGraphMetaKeysFunction · 0.85
Globals_AddGraphFunction · 0.85
GraphIterator_NextFunction · 0.85
Indexer_PopulateIndexFunction · 0.85
Indexer_DropIndexFunction · 0.85
Indexer_DropConstraintFunction · 0.85
GraphContext_RetrieveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected