10 tpp::init_data data{};
11 data.set_thread_name = [](
const std::string&
name)
16 data.log_info = [](
const std::string& msg)
20 data.log_error = [](
const std::string& msg)
27 pool = std::make_unique<tpp::thread_pool>();
32 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
39 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
52 tpp::this_thread::process();
#define APPLOG_ERROR(...)
#define APPLOG_TRACE(...)
auto init(rtti::context &ctx) -> bool
auto deinit(rtti::context &ctx) -> bool
std::unique_ptr< tpp::thread_pool > pool