Mon Jun 27 16:51:24 2011

Asterisk developer's documentation


lock_frame Struct Reference


Data Fields

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

Detailed Description

Definition at line 104 of file func_lock.c.


Field Documentation

ast_cond_t cond

Definition at line 107 of file func_lock.c.

Referenced by get_lock(), and lock_broker().

unsigned int count

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

Definition at line 109 of file func_lock.c.

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

struct { ... } entries

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

ast_mutex_t mutex

Definition at line 106 of file func_lock.c.

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

char name[0]

name of the lock

Definition at line 115 of file func_lock.c.

Referenced by get_lock(), and unlock_read().

struct lock_frame* next

Definition at line 105 of file func_lock.c.

struct ast_channel* owner

who owns us

Definition at line 113 of file func_lock.c.

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

struct ao2_container* requesters

Container of requesters for the named lock

Definition at line 111 of file func_lock.c.

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


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:24 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7