Drizzled Public API Documentation

os_event_struct Struct Reference

#include <os0sync.h>

Public Member Functions

 UT_LIST_NODE_T (os_event_struct_t) os_event_list
 

Public Attributes

os_fast_mutex_t os_mutex
 
ibool is_set
 
ib_int64_t signal_count
 
os_cond_t cond_var
 

Detailed Description

An asynchronous signal sent between threads

Definition at line 61 of file os0sync.h.

Member Function Documentation

os_event_struct::UT_LIST_NODE_T ( os_event_struct_t  )

list of all created events

Member Data Documentation

os_cond_t os_event_struct::cond_var

condition variable is used in waiting for the event

Definition at line 74 of file os0sync.h.

Referenced by os_event_create(), os_event_free(), os_event_set(), os_event_wait_low(), and os_event_wait_time_low().

ibool os_event_struct::is_set

this is TRUE when the event is in the signaled state, i.e., a thread does not stop if it tries to wait for this event

Definition at line 68 of file os0sync.h.

Referenced by os_event_reset(), os_event_set(), os_event_wait_low(), and os_event_wait_time_low().

os_fast_mutex_t os_event_struct::os_mutex

this mutex protects the next fields

Definition at line 66 of file os0sync.h.

Referenced by os_event_create(), os_event_free(), os_event_reset(), os_event_set(), os_event_wait_low(), and os_event_wait_time_low().

ib_int64_t os_event_struct::signal_count

this is incremented each time the event becomes signaled

Definition at line 72 of file os0sync.h.

Referenced by os_event_wait_low(), and os_event_wait_time_low().


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