Livox SDK API
V2.2.0
|
#include <thread_pool.h>
Public Types | |
using | item_type = async_msg |
using | q_type = details::mpmc_blocking_queue< item_type > |
Public Member Functions | |
thread_pool (size_t q_max_items, size_t threads_n) | |
~thread_pool () | |
thread_pool (const thread_pool &)=delete | |
thread_pool & | operator= (thread_pool &&)=delete |
void | post_log (async_logger_ptr &&worker_ptr, details::log_msg &msg, async_overflow_policy overflow_policy) |
void | post_flush (async_logger_ptr &&worker_ptr, async_overflow_policy overflow_policy) |
size_t | overrun_counter () |
Definition at line 118 of file thread_pool.h.
Definition at line 121 of file thread_pool.h.
Definition at line 122 of file thread_pool.h.
|
inline |
Definition at line 124 of file thread_pool.h.
|
inline |
Definition at line 141 of file thread_pool.h.
|
delete |
|
delete |
|
inline |
Definition at line 174 of file thread_pool.h.
|
inline |
Definition at line 169 of file thread_pool.h.
|
inline |
Definition at line 163 of file thread_pool.h.