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

Function RG_Matrix_wait

src/graph/rg_matrix/rg_wait.c:125–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125GrB_Info RG_Matrix_wait
126(
127 RG_Matrix A,
128 bool force_sync
129) {
130 ASSERT(A != NULL);
131 if(RG_MATRIX_MAINTAIN_TRANSPOSE(A)) {
132 RG_Matrix_wait(A->transposed, force_sync);
133 }
134
135 uint64_t delta_max_pending_changes;
136 Config_Option_get(Config_DELTA_MAX_PENDING_CHANGES,
137 &delta_max_pending_changes);
138
139 RG_Matrix_sync(A, force_sync, delta_max_pending_changes);
140
141 _SetUndirty(A);
142
143 return GrB_SUCCESS;
144}
145

Callers 15

_MatrixSynchronizeFunction · 0.85
Graph_ApplyAllPendingFunction · 0.85
test_Exp_OP_MULFunction · 0.85
test_RGMatrix_simple_setFunction · 0.85
test_RGMatrix_delFunction · 0.85
test_RGMatrix_del_entryFunction · 0.85

Calls 3

Config_Option_getFunction · 0.85
RG_Matrix_syncFunction · 0.85
_SetUndirtyFunction · 0.85

Tested by 15

test_Exp_OP_MULFunction · 0.68
test_RGMatrix_simple_setFunction · 0.68
test_RGMatrix_delFunction · 0.68
test_RGMatrix_del_entryFunction · 0.68
test_RGMatrix_setFunction · 0.68
test_RGMatrix_flusFunction · 0.68