IDZEBRA
2.2.7
|
Go to the source code of this file.
Functions | |
int | zebra_mutex_init (Zebra_mutex *p) |
int | zebra_mutex_destroy (Zebra_mutex *p) |
int | zebra_mutex_lock (Zebra_mutex *p) |
int | zebra_mutex_unlock (Zebra_mutex *p) |
int | zebra_lock_rdwr_init (Zebra_lock_rdwr *p) |
int | zebra_lock_rdwr_destroy (Zebra_lock_rdwr *p) |
int | zebra_lock_rdwr_rlock (Zebra_lock_rdwr *p) |
int | zebra_lock_rdwr_wlock (Zebra_lock_rdwr *p) |
int | zebra_lock_rdwr_runlock (Zebra_lock_rdwr *p) |
int | zebra_lock_rdwr_wunlock (Zebra_lock_rdwr *p) |
int | zebra_mutex_cond_init (Zebra_mutex_cond *p) |
int | zebra_mutex_cond_destroy (Zebra_mutex_cond *p) |
int | zebra_mutex_cond_lock (Zebra_mutex_cond *p) |
int | zebra_mutex_cond_unlock (Zebra_mutex_cond *p) |
int | zebra_mutex_cond_wait (Zebra_mutex_cond *p) |
int | zebra_mutex_cond_signal (Zebra_mutex_cond *p) |
int zebra_lock_rdwr_destroy | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 100 of file zebra-lock.c.
References Zebra_lock_rdwr::readers_reading, and Zebra_lock_rdwr::writers_writing.
Referenced by bf_close2(), and zebra_lock_destroy().
int zebra_lock_rdwr_init | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 89 of file zebra-lock.c.
References Zebra_lock_rdwr::readers_reading, and Zebra_lock_rdwr::writers_writing.
Referenced by bf_open(), and zebra_lock_create().
int zebra_lock_rdwr_rlock | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 111 of file zebra-lock.c.
References Zebra_lock_rdwr::readers_reading, and Zebra_lock_rdwr::writers_writing.
Referenced by bf_read2(), and zebra_lock_r().
int zebra_lock_rdwr_runlock | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 135 of file zebra-lock.c.
References Zebra_lock_rdwr::readers_reading.
Referenced by bf_read2(), and zebra_unlock().
int zebra_lock_rdwr_wlock | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 123 of file zebra-lock.c.
References Zebra_lock_rdwr::readers_reading, and Zebra_lock_rdwr::writers_writing.
Referenced by bf_write2(), and zebra_lock_w().
int zebra_lock_rdwr_wunlock | ( | Zebra_lock_rdwr * | p | ) |
Definition at line 155 of file zebra-lock.c.
References Zebra_lock_rdwr::writers_writing.
Referenced by bf_write2(), and zebra_unlock().
int zebra_mutex_cond_destroy | ( | Zebra_mutex_cond * | p | ) |
Definition at line 183 of file zebra-lock.c.
Referenced by zebra_stop().
int zebra_mutex_cond_init | ( | Zebra_mutex_cond * | p | ) |
Definition at line 174 of file zebra-lock.c.
Referenced by zebra_start_res().
int zebra_mutex_cond_lock | ( | Zebra_mutex_cond * | p | ) |
Definition at line 192 of file zebra-lock.c.
Referenced by zebra_admin_shutdown(), zebra_admin_start(), zebra_close(), and zebra_open().
int zebra_mutex_cond_signal | ( | Zebra_mutex_cond * | p | ) |
Definition at line 219 of file zebra-lock.c.
int zebra_mutex_cond_unlock | ( | Zebra_mutex_cond * | p | ) |
Definition at line 201 of file zebra-lock.c.
Referenced by zebra_admin_shutdown(), zebra_admin_start(), zebra_close(), and zebra_open().
int zebra_mutex_cond_wait | ( | Zebra_mutex_cond * | p | ) |
Definition at line 210 of file zebra-lock.c.
int zebra_mutex_destroy | ( | Zebra_mutex * | p | ) |
Definition at line 43 of file zebra-lock.c.
References Zebra_mutex::state.
Referenced by cf_close(), mf_reset(), rec_close(), and zebra_lock_destroy().
int zebra_mutex_init | ( | Zebra_mutex * | p | ) |
Definition at line 31 of file zebra-lock.c.
References Zebra_mutex::state.
Referenced by cf_open(), mf_init(), mf_open(), rec_open(), zebra_flock_init(), and zebra_lock_create().
int zebra_mutex_lock | ( | Zebra_mutex * | p | ) |
Definition at line 59 of file zebra-lock.c.
References Zebra_mutex::state.
Referenced by cf_read(), cf_write(), mf_read(), mf_write(), rec_del(), rec_get(), rec_new(), rec_put(), zebra_lock_create(), zebra_lock_destroy(), zebra_lock_r(), zebra_lock_w(), and zebra_unlock().
int zebra_mutex_unlock | ( | Zebra_mutex * | p | ) |
Definition at line 74 of file zebra-lock.c.
References Zebra_mutex::state.
Referenced by cf_read(), cf_write(), mf_read(), mf_write(), rec_del(), rec_get(), rec_new(), rec_put(), zebra_lock_create(), zebra_lock_destroy(), zebra_lock_r(), zebra_lock_w(), and zebra_unlock().