Home
last modified time | relevance | path

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

/third_party/iowow/src/kv/
Diwkv_internal.h273 #define ENSURE_OPEN(iwkv_) \ argument
274 if (!(iwkv_) || !((iwkv_)->open)) return IW_ERROR_INVALID_STATE; \
275 if ((iwkv_)->fatalrc) return (iwkv_)->fatalrc
280 #define API_RLOCK(iwkv_, rci_) \ argument
281 ENSURE_OPEN(iwkv_); \
282 (rci_) = pthread_rwlock_rdlock(&(iwkv_)->rwl); \
291 #define API_WLOCK(iwkv_, rci_) \ argument
292 ENSURE_OPEN(iwkv_); \
293 (rci_) = pthread_rwlock_wrlock(&(iwkv_)->rwl); \
302 #define API_UNLOCK(iwkv_, rci_, rc_) \ argument
[all …]