ao2_rwlock_priv Struct Reference


Data Fields

ast_rwlock_t lock
int num_lockers

Detailed Description

Definition at line 86 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 89 of file astobj2.c.

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


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

Generated on Thu Apr 16 06:34:53 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6