Public Attributes | |
ulint | n_reserved |
ulint | n_cells |
sync_cell_t * | array |
ulint | protection |
mutex_t | mutex |
os_mutex_t | os_mutex |
ulint | sg_count |
ulint | res_count |
Synchronization array
Definition at line 119 of file sync0arr.cc.
sync_cell_t* sync_array_struct::array |
pointer to wait array
Definition at line 124 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
mutex_t sync_array_struct::mutex |
possible database mutex
protecting this data structure
Definition at line 127 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
ulint sync_array_struct::n_cells |
number of cells in the
wait array
Definition at line 122 of file sync0arr.cc.
Referenced by sync_array_create(), sync_array_print_long_waits(), sync_array_reserve_cell(), and sync_array_validate().
ulint sync_array_struct::n_reserved |
number of currently reserved
cells in the wait array
Definition at line 120 of file sync0arr.cc.
Referenced by sync_array_free(), sync_array_free_cell(), sync_array_reserve_cell(), and sync_array_validate().
os_mutex_t sync_array_struct::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 129 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
ulint sync_array_struct::protection |
this flag tells which
mutex protects the data
Definition at line 125 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
ulint sync_array_struct::res_count |
count of cell reservations
since creation of the array
Definition at line 138 of file sync0arr.cc.
Referenced by sync_array_reserve_cell().
ulint sync_array_struct::sg_count |
count of how many times an
object has been signalled
Definition at line 136 of file sync0arr.cc.
Referenced by sync_array_object_signalled().