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

Method clear

BlockingQueue.h:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 return queue.empty();
31 }
32 void clear() { // remove all items
33 ITEM item;
34 while (try_pop(item));
35 }
36private:
37 Mutex mutex;
38 std::queue<ITEM> queue;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected