MySQL 8.0.40
Source Code Documentation
PFS_notification_node Struct Reference

PFS_notification_node Element of the notification registry containing callback functions. More...

Public Member Functions

 PFS_notification_node ()
 
 PFS_notification_node (const PSI_notification &cb)
 
std::uint32_t set_callback_map ()
 Build a map of the registered callbacks. More...
 

Public Attributes

int m_handle
 Registration handle. More...
 
bool m_use_ref_count
 True if can be unregistered. More...
 
std::atomic< std::uint32_t > m_refs
 Reference count with high bit as enabled flag. More...
 
std::atomic< PFS_notification_node * > m_next
 Next registration. More...
 
std::atomic< std::uint32_t > m_cb_map
 Bitmap of registered callbacks. More...
 
PSI_notification m_cb
 Registered callback functions. More...
 

Detailed Description

PFS_notification_node Element of the notification registry containing callback functions.

Constructor & Destructor Documentation

◆ PFS_notification_node() [1/2]

PFS_notification_node::PFS_notification_node ( )
inline

◆ PFS_notification_node() [2/2]

PFS_notification_node::PFS_notification_node ( const PSI_notification cb)
inlineexplicit

Member Function Documentation

◆ set_callback_map()

std::uint32_t PFS_notification_node::set_callback_map ( )

Build a map of the registered callbacks.

Member Data Documentation

◆ m_cb

PSI_notification PFS_notification_node::m_cb

Registered callback functions.

◆ m_cb_map

std::atomic<std::uint32_t> PFS_notification_node::m_cb_map

Bitmap of registered callbacks.

◆ m_handle

int PFS_notification_node::m_handle

Registration handle.

◆ m_next

std::atomic<PFS_notification_node *> PFS_notification_node::m_next

Next registration.

◆ m_refs

std::atomic<std::uint32_t> PFS_notification_node::m_refs

Reference count with high bit as enabled flag.

◆ m_use_ref_count

bool PFS_notification_node::m_use_ref_count

True if can be unregistered.


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