24#ifndef MYSQL_CSA_RELAY_LOG_PREFETCHER_HPP
25#define MYSQL_CSA_RELAY_LOG_PREFETCHER_HPP
std::atomic< std::size_t > m_bytes_fetched
This way we track the actual number of bytes that are cached in the m_cache.
Definition: log_prefetcher.h:215
std::optional< Elem_type > dequeue(P &&wait_predicate)
Consumes the next batch of data.
Definition: log_prefetcher_impl.hpp:34
Queue_type m_cache
Queue into which prefetcher puts data batches read from a raw binary file.
Definition: log_prefetcher.h:178
#define P
Definition: dtoa.cc:620
bool is_valid(const dd::Spatial_reference_system *srs, const Geometry *g, const char *func_name, bool *is_valid) noexcept
Decides if a geometry is valid.
Definition: is_valid.cc:95
Definition: channel.cpp:28