src/runtime/threads/executors/current_executor.cpp
std::uint64_t current_executor::num_pending_closures(
        error_code& ec) const
    {
        return scheduler_base_->get_thread_count() -
                    scheduler_base_->get_thread_count(terminated);
    }
// Return an estimate of the number of waiting tasks.
Return an estimate of the number of waiting tasks.
Return an estimate of the number of waiting tasks .
std::uint64_t current_executor::num_pending_closures(
        error_code& ec) const
    {
        return scheduler_base_->get_thread_count() -
                    scheduler_base_->get_thread_count(terminated);
    }
std :: uint64_t current_executor :: num_pending_closures ( error_code & ec ) const { return scheduler_base_ -> get_thread_count ( ) - scheduler_base_ -> get_thread_count ( terminated ) ; }
Return an estimate of the number of waiting tasks.
Return an estimate of the number of waiting tasks .