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 118 of file sync0arr.cc.
pointer to wait array
Definition at line 123 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
possible database mutex protecting this data structure
Definition at line 126 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
number of cells in the wait array
Definition at line 121 of file sync0arr.cc.
Referenced by sync_array_create(), sync_array_print_long_waits(), sync_array_reserve_cell(), and sync_array_validate().
number of currently reserved cells in the wait array
Definition at line 119 of file sync0arr.cc.
Referenced by sync_array_free(), sync_array_free_cell(), sync_array_reserve_cell(), and sync_array_validate().
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.
Referenced by sync_array_create(), and sync_array_free().
this flag tells which mutex protects the data
Definition at line 124 of file sync0arr.cc.
Referenced by sync_array_create(), and sync_array_free().
count of cell reservations since creation of the array
Definition at line 137 of file sync0arr.cc.
Referenced by sync_array_reserve_cell().
count of how many times an object has been signalled
Definition at line 135 of file sync0arr.cc.
Referenced by sync_array_object_signalled().