apr  1.7.0
About: APR (Apache Portable Runtime) project offers software libraries that provide a predictable and consistent interface to underlying platform-specific implementations (APR core library).
  Fossies Dox: apr-1.7.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

apr_thread_cond_t Struct Reference

#include <apr_arch_thread_cond.h>

Collaboration diagram for apr_thread_cond_t:
[legend]

Public Member Functions

 APR_RING_HEAD (active_list, waiter_t) alist
 
 APR_RING_HEAD (free_list, waiter_t) flist
 

Data Fields

apr_pool_tpool
 
sem_id lock
 
apr_thread_mutex_tcondlock
 
thread_id owner
 
NXCond_t * cond
 
HEV semaphore
 
HMTX mutex
 
unsigned long num_waiting
 
unsigned long num_wake
 
unsigned long generation
 
HANDLE semaphore
 
CRITICAL_SECTION csection
 

Detailed Description

Definition at line 34 of file apr_arch_thread_cond.h.

Member Function Documentation

◆ APR_RING_HEAD() [1/2]

apr_thread_cond_t::APR_RING_HEAD ( active_list  ,
waiter_t   
)

◆ APR_RING_HEAD() [2/2]

apr_thread_cond_t::APR_RING_HEAD ( free_list  ,
waiter_t   
)

Field Documentation

◆ cond

NXCond_t* apr_thread_cond_t::cond

Definition at line 25 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), and thread_cond_cleanup().

◆ condlock

apr_thread_mutex_t* apr_thread_cond_t::condlock

Definition at line 37 of file apr_arch_thread_cond.h.

Referenced by do_wait().

◆ csection

CRITICAL_SECTION apr_thread_cond_t::csection

Definition at line 25 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), thread_cond_cleanup(), and thread_cond_timedwait().

◆ generation

unsigned long apr_thread_cond_t::generation

Definition at line 29 of file apr_arch_thread_cond.h.

Referenced by thread_cond_timedwait().

◆ lock

sem_id apr_thread_cond_t::lock

Definition at line 36 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), do_wait(), and thread_cond_cleanup().

◆ mutex

HMTX apr_thread_cond_t::mutex

Definition at line 26 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), thread_cond_cleanup(), and thread_cond_timedwait().

◆ num_waiting

unsigned long apr_thread_cond_t::num_waiting

Definition at line 27 of file apr_arch_thread_cond.h.

Referenced by thread_cond_timedwait().

◆ num_wake

unsigned long apr_thread_cond_t::num_wake

Definition at line 28 of file apr_arch_thread_cond.h.

Referenced by thread_cond_timedwait().

◆ owner

thread_id apr_thread_cond_t::owner

Definition at line 38 of file apr_arch_thread_cond.h.

◆ pool

apr_pool_t * apr_thread_cond_t::pool

Definition at line 35 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), and do_wait().

◆ semaphore [1/2]

HANDLE apr_thread_cond_t::semaphore

Definition at line 24 of file apr_arch_thread_cond.h.

◆ semaphore [2/2]

HEV apr_thread_cond_t::semaphore

Definition at line 25 of file apr_arch_thread_cond.h.

Referenced by APR_DECLARE(), thread_cond_cleanup(), and thread_cond_timedwait().


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