Asterisk - The Open Source Telephony Project  GIT-master-44aef04
Data Fields
ast_lock_track Struct Reference

Lock tracking information. More...

#include <lock.h>

Data Fields

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

Detailed Description

Lock tracking information.

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


◆ reentr_mutex

pthread_mutex_t reentr_mutex

Definition at line 120 of file lock.h.

◆ reentrancy

int reentrancy

◆ thread_id

pthread_t thread_id[AST_MAX_REENTRANCY]

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