Searched refs:rci_ (Results 1 – 2 of 2) sorted by relevance
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 63 #define API_RLOCK(db_, rci_) \ argument 65 rci_ = pthread_rwlock_rdlock(&(db_)->rwl); \ 66 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_) 68 #define API_WLOCK(db_, rci_) \ argument 70 rci_ = pthread_rwlock_wrlock(&(db_)->rwl); \ 71 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_) 73 #define API_WLOCK2(db_, rci_) \ argument 74 rci_ = pthread_rwlock_wrlock(&(db_)->rwl); \ 75 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_) 77 #define API_UNLOCK(db_, rci_, rc_) \ argument [all …]
|
/third_party/iowow/src/kv/ |
D | iwkv_internal.h | 326 #define API_RLOCK(iwkv_, rci_) \ argument 328 (rci_) = pthread_rwlock_rdlock(&(iwkv_)->rwl); \ 329 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_) 337 #define API_WLOCK(iwkv_, rci_) \ argument 339 (rci_) = pthread_rwlock_wrlock(&(iwkv_)->rwl); \ 340 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_) 348 #define API_UNLOCK(iwkv_, rci_, rc_) \ argument 349 rci_ = pthread_rwlock_unlock(&(iwkv_)->rwl); \ 350 if (rci_) IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_), rc_) 352 #define API_DB_RLOCK(db_, rci_) \ argument [all …]
|