Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_lock_track Struct Reference

Lock tracking information. More...

#include <lock.h>

Collaboration diagram for ast_lock_track:
Collaboration graph
[legend]

Data Fields

struct ast_bt backtrace [AST_MAX_REENTRANCY]
 
const char * file [AST_MAX_REENTRANCY]
 
const char * func [AST_MAX_REENTRANCY]
 
int lineno [AST_MAX_REENTRANCY]
 
pthread_mutex_t reentr_mutex
 
int reentrancy
 
pthread_t thread_id [AST_MAX_REENTRANCY]
 

Detailed Description

Lock tracking information.

Note
Any changes to this struct MUST be reflected in the lock.c:restore_lock_tracking() function.

Definition at line 111 of file lock.h.

Field Documentation

◆ backtrace

struct ast_bt backtrace[AST_MAX_REENTRANCY]

◆ file

const char* file[AST_MAX_REENTRANCY]

◆ func

const char* func[AST_MAX_REENTRANCY]

◆ lineno

int lineno[AST_MAX_REENTRANCY]

◆ reentr_mutex

pthread_mutex_t reentr_mutex

◆ reentrancy

int reentrancy

◆ thread_id

pthread_t thread_id[AST_MAX_REENTRANCY]

The documentation for this struct was generated from the following file: