MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / mark_worker_idle

Method mark_worker_idle

source/executors/thread_pool_executor.cpp:547–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547void thread_pool_executor::mark_worker_idle(size_t index) noexcept {
548 assert(index < m_workers.size());
549 m_idle_workers.set_idle(index);
550}
551
552void thread_pool_executor::mark_worker_active(size_t index) noexcept {
553 assert(index < m_workers.size());

Callers 1

wait_for_taskMethod · 0.80

Calls 2

set_idleMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected