Alternatives to ppl

前端 未结 4 1193
闹比i
闹比i 2020-12-16 15:42

In my previous question I\'ve asked, I touched the parallel_for subject from ppl.h provided by Microsoft.
But shortly after I\'ve realized that by using it one makes his

4条回答
  •  青春惊慌失措
    2020-12-16 16:29

    You may want to consider Intel's Thread Building Blocks. Unlike OpenMP, TBB actually uses C++, rather than simply compiling under a C++ compiler (ie: being a C library that can compile as C++). It has many of the things you see in PPL, but it is cross-platform.

    There is also Boost.Thread, which is C++ (though not quite as direct as TBB is), and it is cross-platform.

提交回复
热议问题