最新文章

阅读C++线程池源码

1 分钟阅读

progschj/thread_pool Github上这个库(progschj/thread_pool)的点赞最多,学习一下。 接口定义 ```c++ class ThreadPool { public: ThreadPool(size_t); /// 任务入列 template <clas...

阅读spdlog-thread_pool源码

2 分钟阅读

thread_pool 源码学习 源码定义 我们先概览一下spdlog-thread_pool定义 ```c++ class SPDLOG_API thread_pool { public: using item_type = async_msg; using q_type = details::...