Function thread_pool

Synopsis

#include <include/spdlog/async.h>

std::shared_ptr< spdlog::details::thread_pool > thread_pool()

Description

get the global thread pool.

Mentioned in

Source

Lines 89-92 in include/spdlog/async.h.

inline std::shared_ptr<spdlog::details::thread_pool> thread_pool()
{
    return details::registry::instance().get_tp();
}





Add Discussion

Log in to comment