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

Function RG_Matrix_Lock

src/graph/rg_matrix/rg_matrix.c:73–79  ·  view source on GitHub ↗

locks the matrix

Source from the content-addressed store, hash-verified

71
72// locks the matrix
73void RG_Matrix_Lock
74(
75 RG_Matrix C
76) {
77 ASSERT(C);
78 pthread_mutex_lock(&C->mutex);
79}
80
81// unlocks the matrix
82void RG_Matrix_Unlock

Callers 1

_MatrixSynchronizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected