Asterisk - The Open Source Telephony Project
18.5.0
|
Structure for rwlock and tracking information. More...
#include <lock.h>
Data Fields | |
struct ast_lock_track_flags | flags |
pthread_rwlock_t | lock |
struct ast_lock_track * | track |
Structure for rwlock 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..
struct ast_lock_track_flags flags |
Definition at line 168 of file lock.h.
Referenced by __ast_rwlock_destroy(), __ast_rwlock_init(), __ast_rwlock_rdlock(), __ast_rwlock_timedrdlock(), __ast_rwlock_timedwrlock(), __ast_rwlock_tryrdlock(), __ast_rwlock_trywrlock(), __ast_rwlock_unlock(), and __ast_rwlock_wrlock().
pthread_rwlock_t lock |
Definition at line 157 of file lock.h.
Referenced by __ast_rwlock_destroy(), __ast_rwlock_init(), __ast_rwlock_rdlock(), __ast_rwlock_timedrdlock(), __ast_rwlock_timedwrlock(), __ast_rwlock_tryrdlock(), __ast_rwlock_trywrlock(), __ast_rwlock_unlock(), and __ast_rwlock_wrlock().
struct ast_lock_track* track |
Track which thread holds this lock
Definition at line 167 of file lock.h.
Referenced by __ast_rwlock_destroy(), __ast_rwlock_init(), __ast_rwlock_rdlock(), __ast_rwlock_timedrdlock(), __ast_rwlock_timedwrlock(), __ast_rwlock_tryrdlock(), __ast_rwlock_trywrlock(), __ast_rwlock_unlock(), and __ast_rwlock_wrlock().