QtConcurrent
https://doc.qt.io/qt-5/qtconcurrent-index.html
看看这文档。。吊打 boost 一万光年。
自己写一个理论上也不难吧:
https://github.com/hgoldfish/qtnetworkng/blob/master/include/coroutine_utils.h#L405
【 在 lushan5436 (密如) 的大作中提到: 】
: P0260R0 C++ Concurrent Queues Lawrence Crowl, Chris Mysen 2016-02-14 2016-02 Concurrency
: P0261R0 C++ Distributed Counters Lawrence Crowl 2016-02-14 2016-02 Concurrency
:
http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0260r0.html: ...................
--
FROM 110.81.15.*