MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / empty

Function empty

src/UtilsCtrl/ThreadPool/Queue/UAtomicQueue.h:137–140  ·  view source on GitHub ↗

* 判定队列是否为空 * @return */

Source from the content-addressed store, hash-verified

135 * @return
136 */
137 CBool empty() {
138 CGRAPH_LOCK_GUARD lk(mutex_);
139 return queue_.empty();
140 }
141
142
143 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected