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

Method Put

phxqueue/comm/notifierpool.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void NotifierPool::Put(unique_ptr<Notifier> &notifier) {
121 lock_guard<mutex> lock_guard(impl_->lock);
122
123 if (notifier == nullptr) return;
124 impl_->notifiers.push(move(notifier));
125}
126
127
128} //namespace comm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected