drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
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

◆ UT_LIST_NODE_T()

os_event_struct::UT_LIST_NODE_T ( os_event_struct_t )

list of all created events

Member Data Documentation

◆ cond_var

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.

◆ is_set

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.

◆ os_mutex

os_fast_mutex_t os_event_struct::os_mutex

this mutex protects the next fields

Definition at line 66 of file os0sync.h.

◆ signal_count

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.


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