MySQL 8.3.0
Source Code Documentation
srv_conc_t Struct Reference

Variables tracking the active and waiting threads. More...

Public Attributes

char pad [ut::INNODB_CACHE_LINE_SIZE]
 
std::atomic< int32_t > n_active
 Number of transactions that have declared_to_be_inside_innodb set. More...
 
std::atomic< int32_t > n_waiting
 Number of OS threads waiting in the FIFO for permission to enter InnoDB. More...
 

Detailed Description

Variables tracking the active and waiting threads.

Member Data Documentation

◆ n_active

std::atomic<int32_t> srv_conc_t::n_active

Number of transactions that have declared_to_be_inside_innodb set.

It used to be a non-error for this value to drop below zero temporarily. This is no longer true. We'll, however, keep the signed datatype to add assertions to catch any corner cases that we may have missed.

◆ n_waiting

std::atomic<int32_t> srv_conc_t::n_waiting

Number of OS threads waiting in the FIFO for permission to enter InnoDB.

◆ pad

char srv_conc_t::pad[ut::INNODB_CACHE_LINE_SIZE]

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