MySQL 8.0.39
Source Code Documentation
|
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... | |
Variables tracking the active and waiting threads.
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.
std::atomic<int32_t> srv_conc_t::n_waiting |
Number of OS threads waiting in the FIFO for permission to enter InnoDB.
char srv_conc_t::pad[ut::INNODB_CACHE_LINE_SIZE] |