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

Method max_worker_idle_time

source/executors/thread_pool_executor.cpp:510–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510std::chrono::milliseconds thread_pool_worker::max_worker_idle_time() const noexcept {
511 return m_max_idle_time;
512}
513
514bool thread_pool_worker::appears_empty() const noexcept {
515 return m_private_queue.empty() && !m_task_found_or_abort.load(std::memory_order_relaxed);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected