![]() |
MySQL 26.7.0
Source Code Documentation
|
Entry for a named resource, managing available count and synchronization. More...
#include <resource_monitor.h>
Public Member Functions | |
| Resource_entry ()=default | |
| Default constructible. More... | |
Public Attributes | |
| std::atomic< long long > | m_available {0} |
| Currently available amount of the resource. More... | |
| std::atomic< long long > | m_limit {0} |
| Resource limit. More... | |
| PSI_stage_info * | m_stage {nullptr} |
| Waiting stage set only if the requested amount is higher than currently available and thread waits for the resource to be released. More... | |
Entry for a named resource, managing available count and synchronization.
|
default |
Default constructible.
| std::atomic<long long> mysql::csa::Resource_entry::m_available {0} |
Currently available amount of the resource.
| std::atomic<long long> mysql::csa::Resource_entry::m_limit {0} |
Resource limit.
| PSI_stage_info* mysql::csa::Resource_entry::m_stage {nullptr} |
Waiting stage set only if the requested amount is higher than currently available and thread waits for the resource to be released.