ast_sem Struct Reference

#include <sem.h>


Data Fields

ast_cond_t cond
int count
ast_mutex_t mutex
int waiters


Detailed Description

Definition at line 79 of file sem.h.


Field Documentation

Condition for singalling waiters

Definition at line 87 of file sem.h.

Referenced by ast_sem_destroy(), ast_sem_init(), ast_sem_post(), ast_sem_timedwait(), and ast_sem_wait().

int count

Current count of this semaphore

Definition at line 81 of file sem.h.

Referenced by ast_sem_getvalue(), ast_sem_init(), ast_sem_post(), ast_sem_timedwait(), and ast_sem_wait().

Mutual exclusion

Definition at line 85 of file sem.h.

Referenced by ast_sem_destroy(), ast_sem_getvalue(), ast_sem_init(), ast_sem_post(), ast_sem_timedwait(), and ast_sem_wait().

int waiters

Number of threads currently waiting for this semaphore

Definition at line 83 of file sem.h.

Referenced by ast_sem_init(), ast_sem_post(), ast_sem_timedwait(), and ast_sem_wait().


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

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