32 #include <yaz/yconfig.h>
38 CRITICAL_SECTION mutex;
40 # if YAZ_POSIX_THREADS
41 pthread_mutex_t mutex;
58 pthread_mutex_t mutex;
59 pthread_cond_t lock_free;
72 pthread_mutex_t mutex;
int zebra_mutex_cond_init(Zebra_mutex_cond *p)
int zebra_mutex_unlock(Zebra_mutex *p)
int zebra_mutex_init(Zebra_mutex *p)
int zebra_mutex_cond_lock(Zebra_mutex_cond *p)
int zebra_lock_rdwr_rlock(Zebra_lock_rdwr *p)
int zebra_lock_rdwr_wlock(Zebra_lock_rdwr *p)
int zebra_mutex_cond_unlock(Zebra_mutex_cond *p)
int zebra_lock_rdwr_destroy(Zebra_lock_rdwr *p)
int zebra_mutex_cond_destroy(Zebra_mutex_cond *p)
int zebra_lock_rdwr_wunlock(Zebra_lock_rdwr *p)
int zebra_lock_rdwr_runlock(Zebra_lock_rdwr *p)
int zebra_mutex_lock(Zebra_mutex *p)
int zebra_mutex_cond_signal(Zebra_mutex_cond *p)
int zebra_mutex_cond_wait(Zebra_mutex_cond *p)
int zebra_lock_rdwr_init(Zebra_lock_rdwr *p)
int zebra_mutex_destroy(Zebra_mutex *p)