Home
last modified time | relevance | path

Searched refs:wk_mtx (Results 1 – 2 of 2) sorted by relevance

/third_party/iowow/src/kv/
Diwkv.c207 int rci = pthread_mutex_lock(&iwkv->wk_mtx); in _iwkv_worker_inc_nolk()
212 pthread_mutex_unlock(&iwkv->wk_mtx); in _iwkv_worker_inc_nolk()
216 pthread_cond_wait(&iwkv->wk_cond, &iwkv->wk_mtx); in _iwkv_worker_inc_nolk()
220 pthread_mutex_unlock(&iwkv->wk_mtx); in _iwkv_worker_inc_nolk()
229 int rci = pthread_mutex_lock(&iwkv->wk_mtx); in _db_worker_inc_nolk()
234 pthread_mutex_unlock(&iwkv->wk_mtx); in _db_worker_inc_nolk()
238 pthread_cond_wait(&iwkv->wk_cond, &iwkv->wk_mtx); in _db_worker_inc_nolk()
243 pthread_mutex_unlock(&iwkv->wk_mtx); in _db_worker_inc_nolk()
251 int rci = pthread_mutex_lock(&iwkv->wk_mtx); in _iwkv_worker_dec_nolk()
259 pthread_mutex_unlock(&iwkv->wk_mtx); in _iwkv_worker_dec_nolk()
[all …]
Diwkv_internal.h220 pthread_mutex_t wk_mtx; /**< Workers cond mutext */ member