Sat Jul 12 2014 17:20:13

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 85 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 88 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: