MCPcopy Create free account
hub / github.com/Tencent/phxsql / ReplicationManager

Method ReplicationManager

phxbinlogsvr/core/repl/replication.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace phxbinlog {
30
31ReplicationManager::ReplicationManager(const Option *option) {
32 pthread_mutex_init(&m_mutex, NULL);
33 option_ = option;
34 thread_fd_ = 0;
35 impl_ = NULL;
36}
37
38ReplicationManager::~ReplicationManager() {
39 pthread_mutex_destroy(&m_mutex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected