45
edits
Changes
no edit summary
Openmp unfortunately does not support asynchronous multi-threading as is designed for designed for parallelism, not concurrency.
====Question & Awnser=C++ 11 Threads and OpenMp compatibility=====
Can one safely use C++11 multi-threading as well as OpenMP in one and the same program but without
interleaving them (i.e. no OpenMP statement in any code passed to C++11 concurrent features and no
C++11 concurrency in threads spawned by OpenMP)?
On some platforms efficient implementation could only be achieved if the OpenMP run-time is the
also proponents of other execution models (e.g. Intel with Cilk and TBB, GCC with C++11, etc.)
and x86 is usually considered an "experimental" platform (other vendors are usually much more conservative).
=====Conclusion=====