MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / clearTaskRequestQueue

Function clearTaskRequestQueue

tests/test-queue-impl.cpp:84–89  ·  view source on GitHub ↗

* @brief Helper to clear the queue between tests */

Source from the content-addressed store, hash-verified

82 * @brief Helper to clear the queue between tests
83 */
84void clearTaskRequestQueue() {
85 std::unique_lock<std::mutex> lock(queueMutex);
86 while (!taskRequestQueue.empty()) {
87 taskRequestQueue.pop();
88 }
89}
90
91/**
92 * @brief Helper to get current queue size

Callers 2

SetUpMethod · 0.85
TearDownMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected