MySQL 8.0.39
Source Code Documentation
|
#include "sql/changestreams/apply/replication_thread_status.h"
#include "sql/changestreams/apply/constants.h"
#include "sql/rpl_io_monitor.h"
Functions | |
void | lock_slave_threads (Master_info *mi) |
This method locks both (in this order) mi->run_lock rli->run_lock. More... | |
void | unlock_slave_threads (Master_info *mi) |
Unlock replica master and relay log info locks. More... | |
void | init_thread_mask (int *mask, Master_info *mi, bool inverse, bool ignore_monitor_thread) |
Find out which replications threads are running. More... | |
void init_thread_mask | ( | int * | mask, |
Master_info * | mi, | ||
bool | inverse, | ||
bool | ignore_monitor_thread = false |
||
) |
Find out which replications threads are running.
mask | Return value here |
mi | master_info for slave |
inverse | If set, returns which threads are not running |
ignore_monitor_thread | If set, ignores monitor io thread |
IMPLEMENTATION Get a bit mask for which threads are running.
void lock_slave_threads | ( | Master_info * | mi | ) |
This method locks both (in this order) mi->run_lock rli->run_lock.
mi | The associated master info object |
void unlock_slave_threads | ( | Master_info * | mi | ) |
Unlock replica master and relay log info locks.
mi | the repo info object that contains the lock |