Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_sem Struct Reference

#include <sem.h>

Collaboration diagram for ast_sem:
Collaboration graph
[legend]

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

◆ cond

ast_cond_t cond

Condition for signaling waiters

Definition at line 89 of file sem.h.

◆ count

int count

Current count of this semaphore

Definition at line 83 of file sem.h.

◆ mutex

ast_mutex_t mutex

Mutual exclusion

Definition at line 87 of file sem.h.

◆ waiters

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: