MCPcopy Create free account
hub / github.com/decoder-it/ADCSCoercePotato / empty

Method empty

BlockingQueue.h:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 return value;
27 }
28 bool empty() const { // queue is empty?
29 std::lock_guard<Mutex> lock(mutex);
30 return queue.empty();
31 }
32 void clear() { // remove all items
33 ITEM item;
34 while (try_pop(item));

Callers 2

try_popMethod · 0.80
wait_popMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected