6 ms·
Modern C++ has some great, simple constructs like std::thread and std::mutex. What kind of parallelization do you need?
by bwackwat 10y ago
Modern C++ has some great, simple constructs like std::thread and std::mutex.
What kind of parallelization do you need?
- xf00ba7 10y agoseems like OP wants something without explicit threads/locks if they mentioned Kokkos/OpenMP type constructs...just a hunch.
- bwackwat 10y agoRight. I think it is quite practical to wrap std::thread into "tasks" using std::mutex and/or std::atomic<T>. If anyone has a multi-threaded conundrum, I'd be glad to discuss it.