Sun Oct 16 2011 08:43:14

Asterisk developer's documentation


lock_frame Struct Reference
Collaboration diagram for lock_frame:

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
struct ao2_containerrequesters

Field Documentation

Definition at line 111 of file func_lock.c.

Referenced by lock_broker(), and get_lock().

unsigned int count

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

Definition at line 113 of file func_lock.c.

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

struct { ... } entries

Definition at line 110 of file func_lock.c.

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

char name[0]

name of the lock

Definition at line 119 of file func_lock.c.

Referenced by get_lock(), and unlock_read().

struct lock_frame* next

Definition at line 109 of file func_lock.c.

struct ast_channel* owner

who owns us

Definition at line 117 of file func_lock.c.

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

Container of requesters for the named lock

Definition at line 115 of file func_lock.c.

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


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