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

Data Fields

ast_cond_t cond
 
int count
 
ast_mutex_t mutex
 
int waiters
 

Detailed Description

Definition at line 81 of file sem.h.

Field Documentation

ast_cond_t cond

Condition for signaling waiters

Definition at line 89 of file sem.h.

int count

Current count of this semaphore

Definition at line 83 of file sem.h.

ast_mutex_t mutex

Mutual exclusion

Definition at line 87 of file sem.h.

int waiters

Number of threads currently waiting for this semaphore

Definition at line 85 of file sem.h.


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