|
pj_status_t | pj_lock_create_simple_mutex (pj_pool_t *pool, const char *name, pj_lock_t **lock) |
|
pj_status_t | pj_lock_create_recursive_mutex (pj_pool_t *pool, const char *name, pj_lock_t **lock) |
|
pj_status_t | pj_lock_create_null_mutex (pj_pool_t *pool, const char *name, pj_lock_t **lock) |
|
pj_status_t | pj_lock_create_semaphore (pj_pool_t *pool, const char *name, unsigned initial, unsigned max, pj_lock_t **lock) |
|
pj_status_t | pj_lock_acquire (pj_lock_t *lock) |
|
pj_status_t | pj_lock_tryacquire (pj_lock_t *lock) |
|
pj_status_t | pj_lock_release (pj_lock_t *lock) |
|
pj_status_t | pj_lock_destroy (pj_lock_t *lock) |
|
void | pj_grp_lock_config_default (pj_grp_lock_config *cfg) |
|
pj_status_t | pj_grp_lock_create (pj_pool_t *pool, const pj_grp_lock_config *cfg, pj_grp_lock_t **p_grp_lock) |
|
pj_status_t | pj_grp_lock_create_w_handler (pj_pool_t *pool, const pj_grp_lock_config *cfg, void *member, pj_grp_lock_handler handler, pj_grp_lock_t **p_grp_lock) |
|
pj_status_t | pj_grp_lock_destroy (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_replace (pj_grp_lock_t *old_lock, pj_grp_lock_t *new_lock) |
|
pj_status_t | pj_grp_lock_acquire (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_tryacquire (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_release (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_add_handler (pj_grp_lock_t *grp_lock, pj_pool_t *pool, void *member, pj_grp_lock_handler handler) |
|
pj_status_t | pj_grp_lock_del_handler (pj_grp_lock_t *grp_lock, void *member, pj_grp_lock_handler handler) |
|
pj_status_t | pj_grp_lock_add_ref (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_dec_ref (pj_grp_lock_t *grp_lock) |
|
int | pj_grp_lock_get_ref (pj_grp_lock_t *grp_lock) |
|
void | pj_grp_lock_dump (pj_grp_lock_t *grp_lock) |
|
pj_status_t | pj_grp_lock_chain_lock (pj_grp_lock_t *grp_lock, pj_lock_t *ext_lock, int pos) |
|
pj_status_t | pj_grp_lock_unchain_lock (pj_grp_lock_t *grp_lock, pj_lock_t *ext_lock) |
|
Higher abstraction for locking objects.