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

Method MasterStorage

phxbinlogsvr/core/storage/master_storage.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace phxbinlog {
30
31MasterStorage::MasterStorage(const Option *option) {
32
33 option_ = option;
34 pthread_rwlock_init(&mutex_, NULL);
35}
36
37MasterStorage::~MasterStorage() {
38 pthread_rwlock_destroy(&mutex_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected