Data Fields | |
| struct { | |
| thr_lock_info * next | |
| } | entry |
| pthread_mutex_t | lock |
| struct { | |
| ast_bt * backtrace | |
| const char * file | |
| const char * func | |
| int line_num | |
| void * lock_addr | |
| const char * lock_name | |
| int pending:2 | |
| int times_locked | |
| enum ast_lock_type type | |
| } | locks [AST_MAX_LOCKS] |
| unsigned int | num_locks |
| pthread_t | thread_id |
| const char * | thread_name |
There is an instance of this struct for every active thread
Definition at line 473 of file utils.c.
| struct { ... } entry |
Referenced by dummy_start(), and lock_info_destroy().
| pthread_mutex_t lock |
| struct { ... } locks[AST_MAX_LOCKS] |
This is the actual container of info for what locks this thread holds
| struct thr_lock_info* next |
| unsigned int num_locks |
This is the number of locks currently held by this thread. The index (num_locks - 1) has the info on the last one in the locks member
Definition at line 496 of file utils.c.
Referenced by ast_remove_lock_info().
| const char* thread_name |
| int times_locked |
| enum ast_lock_type type |
1.4.7