src/runtime/threads/executors/default_executor.cpp
std::uint64_t default_executor::num_pending_closures(error_code& ec) const
    {
        if (&ec != &throws)
            ec = make_success_code();

        return get_thread_count() - 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 default_executor::num_pending_closures(error_code& ec) const
    {
        if (&ec != &throws)
            ec = make_success_code();
        return get_thread_count() - get_thread_count(terminated);
    }
std :: uint64_t default_executor :: num_pending_closures ( error_code & ec ) const { if ( & ec != & throws ) ec = make_success_code ( ) ; return get_thread_count ( ) - get_thread_count ( terminated ) ; }
Return an estimate of the number of waiting tasks.
Return an estimate of the number of waiting tasks .