Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
lock_frame Struct Reference
Collaboration diagram for lock_frame:
Collaboration graph
[legend]

Data Fields

ast_cond_t cond
 
unsigned int count
 
struct {
   struct lock_frame *   next
 
entries
 
ast_mutex_t mutex
 
char name [0]
 
struct ast_channelowner
 
unsigned int requesters
 

Detailed Description

Definition at line 121 of file func_lock.c.

Field Documentation

◆ cond

ast_cond_t cond

Definition at line 124 of file func_lock.c.

Referenced by get_lock(), lock_free(), unload_module(), and unlock_read().

◆ count

unsigned int count

count is needed so if a recursive mutex exits early, we know how many times to unlock it.

Definition at line 126 of file func_lock.c.

Referenced by get_lock(), lock_free(), and unlock_read().

◆ entries

struct { ... } entries

◆ mutex

ast_mutex_t mutex

Definition at line 123 of file func_lock.c.

Referenced by get_lock(), handle_cli_locks_show(), lock_free(), unload_module(), and unlock_read().

◆ name

char name[0]

◆ next

struct lock_frame* next

Definition at line 122 of file func_lock.c.

◆ owner

struct ast_channel* owner

who owns us

Definition at line 130 of file func_lock.c.

Referenced by get_lock(), handle_cli_locks_show(), lock_fixup(), lock_free(), unload_module(), and unlock_read().

◆ requesters

unsigned int requesters

Count of waiting of requesters for the named lock

Definition at line 128 of file func_lock.c.

Referenced by get_lock(), handle_cli_locks_show(), and unload_module().


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