MySQL 26.7.0
Source Code Documentation
mysql::concurrency::detail Namespace Reference

Classes

struct  Padded_slot
 Padded slot for Sync_bounded_queue, aligning the struct to cache line size to minimize false sharing in concurrent access. More...
 

Typedefs

using Func_t = std::function< void(void)>
 

Functions

static void * launch_handler_thread (void *arg)
 Function launching the thread function and matching interface of the my_start_routine. More...
 

Variables

constexpr std::size_t hardware_destructive_interference_size = 64
 

Typedef Documentation

◆ Func_t

using mysql::concurrency::detail::Func_t = typedef std::function<void(void)>

Function Documentation

◆ launch_handler_thread()

static void * mysql::concurrency::detail::launch_handler_thread ( void *  arg)
inlinestatic

Function launching the thread function and matching interface of the my_start_routine.

Variable Documentation

◆ hardware_destructive_interference_size

constexpr std::size_t mysql::concurrency::detail::hardware_destructive_interference_size = 64
inlineconstexpr