MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
srv_conc_t Struct Reference

Public Attributes

char pad [64-(sizeof(ulint)+sizeof(lint))]
volatile lint n_active
volatile lint n_waiting

Detailed Description

Variables tracking the active and waiting threads.

Definition at line 107 of file srv0conc.cc.

Member Data Documentation

volatile lint 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 lint datatype to add assertions to catch any corner cases that we may have missed.

Definition at line 115 of file srv0conc.cc.

volatile lint srv_conc_t::n_waiting
Number of OS threads waiting in the FIFO for permission to

enter InnoDB

Definition at line 119 of file srv0conc.cc.


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