| 86 | } // namespace concurrencpp::details |
| 87 | |
| 88 | idle_worker_set::idle_worker_set(size_t size) : m_approx_size(0), m_idle_flags(std::make_unique<padded_flag[]>(size)), m_size(size) {} |
| 89 | |
| 90 | void idle_worker_set::set_idle(size_t idle_thread) noexcept { |
| 91 | const auto before = m_idle_flags[idle_thread].flag.exchange(status::idle, std::memory_order_relaxed); |
nothing calls this directly
no outgoing calls
no test coverage detected