Searched refs:treeLock (Results 1 – 1 of 1) sorted by relevance
282 static int32_t LoadTreeStatus(struct RbTree *tree, pthread_rwlock_t *treeLock, uint8_t *buf, uint32… in LoadTreeStatus() argument312 pthread_rwlock_wrlock(treeLock); in LoadTreeStatus()314 pthread_rwlock_unlock(treeLock); in LoadTreeStatus()338 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in LoadStatus() local349 rc = LoadTreeStatus(tree, treeLock, buf, sz); in LoadStatus()407 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in WriteStatus() local413 pthread_rwlock_rdlock(treeLock); in WriteStatus()415 pthread_rwlock_unlock(treeLock); in WriteStatus()459 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in DestroyTree() local461 pthread_rwlock_wrlock(treeLock); in DestroyTree()[all …]