MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
os_event Struct Reference

#include <os0sync.h>

Collaboration diagram for os_event:

Public Member Functions

 UT_LIST_NODE_T (os_event_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 69 of file os0sync.h.

Member Function Documentation

os_event::UT_LIST_NODE_T ( os_event_t  )

list of all created events

Member Data Documentation

os_cond_t os_event::cond_var

condition variable is used in waiting for the event

Definition at line 82 of file os0sync.h.

ibool os_event::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 76 of file os0sync.h.

os_fast_mutex_t os_event::os_mutex

this mutex protects the next fields

Definition at line 74 of file os0sync.h.

ib_int64_t os_event::signal_count

this is incremented each time the event becomes signaled

Definition at line 80 of file os0sync.h.


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