FIX 4.0 Demo 1.0
Loading...
Searching...
No Matches
thread_pool.hpp File Reference

支持连接绑定的线程池实现 More...

#include <vector>
#include <thread>
#include <functional>
#include <future>
#include <type_traits>
#include <atomic>
#include "base/blockingconcurrentqueue.h"
Include dependency graph for thread_pool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fix40::ThreadPool
 支持"连接绑定线程"的线程池 More...
 

Namespaces

namespace  fix40
 

Detailed Description

支持连接绑定的线程池实现

提供高性能的线程池,支持将任务派发到指定线程执行, 实现"连接绑定线程"模型,避免同一连接的操作产生锁竞争。