Structure for mutex and tracking information. More...
#include <lock.h>
Data Fields | |
pthread_mutex_t | mutex |
struct ast_lock_track * | track |
unsigned int | tracking:1 |
Structure for mutex and tracking information.
We have tracking information in this structure regardless of DEBUG_THREADS being enabled. The information will just be ignored in the core if a module does not request it..
pthread_mutex_t mutex |
Definition at line 122 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().
struct ast_lock_track* track |
Track which thread holds this mutex
Definition at line 124 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().
unsigned int tracking |
Definition at line 125 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().