Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
lock_frame Struct Reference

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 133 of file func_lock.c.

Field Documentation

unsigned int count

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

Definition at line 138 of file func_lock.c.

char name[0]

name of the lock

Definition at line 144 of file func_lock.c.

Referenced by PathSegment::__init__(), and PathSegment::get_child().

struct ast_channel* owner

who owns us

Definition at line 142 of file func_lock.c.

unsigned int requesters

Count of waiting of requesters for the named lock

Definition at line 140 of file func_lock.c.


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