24#ifndef COMPONENTS_SERVICES_BITS_THR_RWLOCK_BITS_H 
   25#define COMPONENTS_SERVICES_BITS_THR_RWLOCK_BITS_H 
   58  BOOL have_exclusive_srwlock; 
 
Types to make different thread packages compatible.
 
pthread_t my_thread_t
Definition: my_thread_bits.h:48
 
Portable implementation of special type of read-write locks.
Definition: thr_rwlock_bits.h:95
 
unsigned int writers_waiting_readers
Number of writers waiting for readers to go away.
Definition: thr_rwlock_bits.h:109
 
native_cond_t no_active_readers
Condition variable which is used to wake-up writers waiting for readers to go away.
Definition: thr_rwlock_bits.h:105
 
my_thread_t writer_thread
Thread holding wr-lock (for debug purposes only).
Definition: thr_rwlock_bits.h:113
 
unsigned int active_readers
Number of active readers.
Definition: thr_rwlock_bits.h:107
 
native_mutex_t lock
Lock which protects the structure.
Definition: thr_rwlock_bits.h:100
 
bool active_writer
Indicates whether there is an active writer.
Definition: thr_rwlock_bits.h:111
 
MySQL condition variable implementation.
 
pthread_cond_t native_cond_t
Definition: thr_cond_bits.h:46
 
pthread_mutex_t native_mutex_t
Definition: thr_mutex_bits.h:55
 
pthread_rwlock_t native_rw_lock_t
Definition: thr_rwlock_bits.h:61