MySQL 8.4.2
Source Code Documentation
sync0arr.ic File Reference

The wait array for synchronization primitives. More...

#include "ut0counter.h"

Functions

static sync_array_tsync_array_get ()
 Get an instance of the sync wait array. More...
 
static sync_array_tsync_array_get_and_reserve_cell (void *object, ulint type, ut::Location location, sync_cell_t **cell)
 

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...
 

Detailed Description

The wait array for synchronization primitives.

Inline code

Created 9/5/1995 Heikki Tuuri

Function Documentation

◆ sync_array_get()

static sync_array_t * sync_array_get ( )
inlinestatic

Get an instance of the sync wait array.

Returns
an instance of the sync wait array.

◆ sync_array_get_and_reserve_cell()

static sync_array_t * sync_array_get_and_reserve_cell ( void *  object,
ulint  type,
ut::Location  location,
sync_cell_t **  cell 
)
inlinestatic

Variable Documentation

◆ sync_array_size

ulint sync_array_size
extern

Locally stored copy of srv_sync_array_size.

◆ sync_wait_array

sync_array_t** sync_wait_array
extern

The global array of wait cells for implementation of the database's own mutexes and read-write locks.