MySQL 8.0.39
Source Code Documentation
service_pfs_notification.h File Reference

Go to the source code of this file.

Functions

int pfs_register_notification (const struct PSI_notification_v3 *callbacks, bool with_ref_count)
 
int pfs_unregister_notification (int handle)
 Unregister callbacks for the Notification service. More...
 
void pfs_notify_thread_create (PSI_thread *thread)
 Invoke callbacks registered for create thread events. More...
 
void pfs_notify_thread_destroy (PSI_thread *thread)
 Invoke callbacks registered for destroy thread events. More...
 
void pfs_notify_session_connect (PSI_thread *thread)
 Invoke callbacks registered for session connect events. More...
 
void pfs_notify_session_disconnect (PSI_thread *thread)
 Invoke callbacks registered for session disconnect events. More...
 
void pfs_notify_session_change_user (PSI_thread *thread)
 Invoke callbacks registered for session change user events. More...
 

Function Documentation

◆ pfs_notify_session_change_user()

void pfs_notify_session_change_user ( PSI_thread thread)

Invoke callbacks registered for session change user events.

Parameters
threadinstrumented thread
See also
PSI_v1::notify_session_change_user

◆ pfs_notify_session_connect()

void pfs_notify_session_connect ( PSI_thread thread)

Invoke callbacks registered for session connect events.

Parameters
threadinstrumented thread
See also
PSI_v1::notify_session_connect

◆ pfs_notify_session_disconnect()

void pfs_notify_session_disconnect ( PSI_thread thread)

Invoke callbacks registered for session disconnect events.

Parameters
threadinstrumented thread
See also
PSI_v1::notify_session_disconnect

◆ pfs_notify_thread_create()

void pfs_notify_thread_create ( PSI_thread thread)

Invoke callbacks registered for create thread events.

This is an internal function, not part of Notification API.

Parameters
threadinstrumented thread
See also
pfs_notify_thread_create

◆ pfs_notify_thread_destroy()

void pfs_notify_thread_destroy ( PSI_thread thread)

Invoke callbacks registered for destroy thread events.

This is an internal function, not part of Notification API.

Parameters
threadinstrumented thread
See also
pfs_notify_thread_destroy

◆ pfs_register_notification()

int pfs_register_notification ( const struct PSI_notification_v3 callbacks,
bool  with_ref_count 
)

◆ pfs_unregister_notification()

int pfs_unregister_notification ( int  handle)

Unregister callbacks for the Notification service.

Parameters
handleunique handle returned by register_notification()
Returns
0 if successful, non-zero otherwise
See also
PSI_v1::unregister_notification