#include <lock.h>
Data Fields | |
const char * | file [AST_MAX_REENTRANCY] |
const char * | func [AST_MAX_REENTRANCY] |
int | lineno [AST_MAX_REENTRANCY] |
pthread_mutex_t | mutex |
pthread_mutex_t | reentr_mutex |
int | reentrancy |
pthread_t | thread [AST_MAX_REENTRANCY] |
unsigned int | track:1 |
Definition at line 116 of file lock.h.
const char* file[AST_MAX_REENTRANCY] |
Definition at line 120 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), __ast_pthread_mutex_unlock(), ast_reentrancy_init(), and cleanup_connection().
const char* func[AST_MAX_REENTRANCY] |
Definition at line 123 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), __ast_pthread_mutex_unlock(), ast_reentrancy_init(), and cleanup_connection().
int lineno[AST_MAX_REENTRANCY] |
Definition at line 121 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), __ast_pthread_mutex_unlock(), ast_reentrancy_init(), and cleanup_connection().
pthread_mutex_t mutex |
Definition at line 117 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_init(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), and __ast_pthread_mutex_unlock().
pthread_mutex_t reentr_mutex |
Definition at line 125 of file lock.h.
Referenced by ast_reentrancy_init(), ast_reentrancy_lock(), ast_reentrancy_unlock(), and delete_reentrancy_cs().
int reentrancy |
Definition at line 122 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), __ast_pthread_mutex_unlock(), ast_reentrancy_init(), and cleanup_connection().
pthread_t thread[AST_MAX_REENTRANCY] |
Definition at line 124 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), __ast_pthread_mutex_unlock(), ast_reentrancy_init(), and cleanup_connection().
unsigned int track |
Track which thread holds this lock
Definition at line 119 of file lock.h.
Referenced by __ast_cond_timedwait(), __ast_cond_wait(), __ast_pthread_mutex_destroy(), __ast_pthread_mutex_init(), __ast_pthread_mutex_lock(), __ast_pthread_mutex_trylock(), and __ast_pthread_mutex_unlock().