![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
The wait array used in synchronization primitives, implementation details. More...
Go to the source code of this file.
Classes | |
| union | sync_object_t | 
| The latch types that use the sync array.  More... | |
| struct | sync_cell_t | 
| A cell where an individual thread may wait suspended until a resource is released.  More... | |
| struct | sync_array_t | 
| Synchronization array.  More... | |
Typedefs | |
| typedef SyncArrayMutex::MutexType | WaitMutex | 
| typedef BlockSyncArrayMutex::MutexType | BlockWaitMutex | 
Functions | |
| static void | sync_array_exit (sync_array_t *a) | 
| static void | sync_array_enter (sync_array_t *a) | 
| sync_cell_t * | sync_array_get_nth_cell (sync_array_t *arr, ulint n) | 
| Gets the nth cell in array.  More... | |
| void | sync_array_cell_print (FILE *file, const sync_cell_t *cell) | 
| Reports info of a wait array cell into a file.  More... | |
Variables | |
| ulint | sync_array_size | 
| Locally stored copy of srv_sync_array_size.  More... | |
| sync_array_t ** | sync_wait_array | 
| The global array of wait cells for implementation of the database's own mutexes and read-write locks.  More... | |
The wait array used in synchronization primitives, implementation details.
| typedef BlockSyncArrayMutex::MutexType BlockWaitMutex | 
| typedef SyncArrayMutex::MutexType WaitMutex | 
| void sync_array_cell_print | ( | FILE * | file, | 
| const sync_cell_t * | cell | ||
| ) | 
Reports info of a wait array cell into a file.
| [in] | file | File where to print. | 
| [in] | cell | Sync array cell to report. | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
| sync_cell_t * sync_array_get_nth_cell | ( | sync_array_t * | arr, | 
| ulint | n | ||
| ) | 
Gets the nth cell in array.
| [in] | arr | Sync array to get cell from. | 
| [in] | n | Index of cell to retrieve. | 
      
  | 
  extern | 
Locally stored copy of srv_sync_array_size.
      
  | 
  extern | 
The global array of wait cells for implementation of the database's own mutexes and read-write locks.