46#if defined(_MSC_VER) && _MSC_VER <= 1800
87 thread_pool(
size_t q_max_items,
size_t threads_n, std::function<
void()> on_thread_start, std::function<
void()> on_thread_stop);
88 thread_pool(
size_t q_max_items,
size_t threads_n, std::function<
void()> on_thread_start);
99 size_t overrun_counter();
100 void reset_overrun_counter();
114 bool process_next_msg_();
120#ifdef SPDLOG_HEADER_ONLY
Definition log_msg_buffer.h:17
Definition thread_pool.h:82
q_type q_
Definition thread_pool.h:104
thread_pool(const thread_pool &)=delete
thread_pool & operator=(thread_pool &&)=delete
std::vector< std::thread > threads_
Definition thread_pool.h:106
#define SPDLOG_API
Definition common.h:45
async_msg_type
Definition thread_pool.h:26
std::shared_ptr< spdlog::async_logger > async_logger_ptr
Definition thread_pool.h:23
async_overflow_policy
Definition async_logger.h:24
Definition thread_pool.h:35
async_msg_type msg_type
Definition thread_pool.h:36
async_logger_ptr worker_ptr
Definition thread_pool.h:37
async_msg(async_msg &&)=default
async_msg(async_msg_type the_type)
Definition thread_pool.h:75
async_msg(async_logger_ptr &&worker, async_msg_type the_type, const details::log_msg &m)
Definition thread_pool.h:65
async_msg(const async_msg &)=delete
async_msg(async_logger_ptr &&worker, async_msg_type the_type)
Definition thread_pool.h:70
async_msg & operator=(async_msg &&)=default
annotation details
Definition tag_strings.h:125