Sat Apr 26 2014 22:03:22

Asterisk developer's documentation


ao2_rwlock_priv Struct Reference
Collaboration diagram for ao2_rwlock_priv:

Data Fields

ast_rwlock_t lock
int num_lockers

Detailed Description

Definition at line 83 of file astobj2.c.


Field Documentation

Count of the number of threads holding a lock on this object. -1 if it is the write lock.

Definition at line 86 of file astobj2.c.

Referenced by __ao2_lock(), __ao2_trylock(), __ao2_unlock(), and adjust_lock().


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