Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ao2_rwlock_priv Struct Reference

Data Fields

ast_rwlock_t lock
 
int num_lockers
 

Detailed Description

Definition at line 126 of file astobj2.c.

Field Documentation

int num_lockers

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

Definition at line 129 of file astobj2.c.

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


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