Wed Oct 28 11:54:22 2009

Asterisk developer's documentation


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

Detailed Description

Definition at line 57 of file func_lock.c.


Field Documentation

Definition at line 60 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 62 of file func_lock.c.

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

struct { ... } entries

Definition at line 59 of file func_lock.c.

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

char name[0]

name of the lock

Definition at line 68 of file func_lock.c.

Referenced by get_lock(), and unlock_read().

struct lock_frame* next [read]

Definition at line 58 of file func_lock.c.

struct ast_channel* owner [read]

who owns us

Definition at line 66 of file func_lock.c.

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

struct ao2_container* requesters [read]

Container of requesters for the named lock

Definition at line 64 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 Wed Oct 28 11:54:22 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6