Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ao2_rwlock_priv Struct Reference
Collaboration diagram for ao2_rwlock_priv:
Collaboration graph
[legend]

Data Fields

ast_rwlock_t lock
 
int num_lockers
 

Detailed Description

Definition at line 126 of file astobj2.c.

Field Documentation

◆ lock

Definition at line 127 of file astobj2.c.

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

◆ num_lockers

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 __adjust_lock(), __ao2_lock(), __ao2_trylock(), and __ao2_unlock().


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