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

Method TopicLock

phxqueue/scheduler/schedulermgr.h:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238class TopicLock {
239 public:
240 TopicLock() {
241 rwlock = new pthread_rwlock_t;
242 pthread_rwlock_init(rwlock, nullptr);
243 QLVerb("init rwlock");
244 }
245
246 // noncopyable
247 TopicLock(const TopicLock &) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected