受欢迎的博客标签
RSS

博客文章标记 'c++17'

C++17:标准库启动线程的方法可分为三类:async、thread以及packaged_task
C++标准库启动线程的方法可分为三类:async、thread以及packaged_task。其中,async一般和futrue或者shared_future搭配,thread一般和promise搭配(也要结合future使用),packaged_task一般和future搭配
C++17
Parallel Algorithms of the Standard Template Library https://www.modernescpp.com/index.php/parallel-algorithm-of-the-st