一、多线程
1、A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
https://github.com/cameron314/concurrentqueue
A Fast General Purpose Lock-Free Queue for C++
2、A fast single-producer, single-consumer lock-free queue for C++
https://github.com/cameron314/readerwriterqueue
A Fast Lock-Free Queue for C++
注:
lock-free:无锁
concurrent queue:并发队列
3、https://blog.csdn.net/chenjiayi_yun/article/details/16333595
4、线程池
Hipe是采用C++11编写的高性能、跨平台、简单易用且功能强大的C++并发库。内置了多个独立线程池(Thread Pool),可针对多种场景提供高并发服务。(A high performance concurrent library)
https://github.com/CodingHanYa/Hipe
一个简单好用,性能优异的跨平台的C++线程池。
https://github.com/ChunelFeng/CThreadPool
二、多进程
1、java版本
https://github.com/LMAX-Exchange/disruptor
2、C++版本
https://github.com/Abc-Arbitrage/Disruptor-cpp