MCPcopy Create free account
hub / github.com/Tencent/phxqueue / LockDb

Method LockDb

phxqueue/lock/lockdb.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38LockDb::LockDb() {
39 mutex_ = new pthread_mutex_t;
40 pthread_mutex_init(mutex_, nullptr);
41 QLVerb("init mutex");
42}
43
44LockDb::LockDb(LockDb &&rhs) {
45 mutex_ = rhs.mutex_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected