MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / flush

Method flush

src/util/ThreadBlockingQueue.h:213–217  ·  view source on GitHub ↗

* Remove any items in the queue. */

Source from the content-addressed store, hash-verified

211 * Remove any items in the queue.
212 */
213 void flush() {
214 std::lock_guard < SpinMutex > lock(m_mutex);
215 m_queue.clear();
216 m_cond_not_full.notify_all();
217 }
218
219
220

Callers 15

runMethod · 0.80
terminateMethod · 0.80
terminateMethod · 0.80
runMethod · 0.80
terminateMethod · 0.80
terminateMethod · 0.80
readLoopMethod · 0.80
terminateMethod · 0.80
resetAllDemodulatorsMethod · 0.80
runMethod · 0.80
terminateMethod · 0.80
runMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected