MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sync_array_t Struct Reference
Collaboration diagram for sync_array_t:

Public Attributes

ulint n_reserved
ulint n_cells
sync_cell_tarray
ib_mutex_t mutex
os_ib_mutex_t os_mutex
ulint res_count

Detailed Description

Synchronization array

Definition at line 120 of file sync0arr.cc.

Member Data Documentation

sync_cell_t* sync_array_t::array

pointer to wait array

Definition at line 125 of file sync0arr.cc.

ib_mutex_t sync_array_t::mutex

possible database mutex protecting this data structure

Definition at line 126 of file sync0arr.cc.

ulint sync_array_t::n_cells

number of cells in the wait array

Definition at line 123 of file sync0arr.cc.

ulint sync_array_t::n_reserved

number of currently reserved cells in the wait array

Definition at line 121 of file sync0arr.cc.

os_ib_mutex_t sync_array_t::os_mutex

Possible operating system mutex protecting the data structure. As this data structure is used in constructing the database mutex, to prevent infinite recursion in implementation, we fall back to an OS mutex.

Definition at line 128 of file sync0arr.cc.

ulint sync_array_t::res_count

count of cell reservations since creation of the array

Definition at line 135 of file sync0arr.cc.


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