Commit 174bdac7 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix

parent 3eb08f04
Pipeline #81500 passed with stages
in 17 minutes and 30 seconds
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <queue> #include <queue>
#include <atomic> #include <atomic>
#include <vector> #include <vector>
#include <exception>
#if __has_include(<pthread.h>) #if __has_include(<pthread.h>)
#include <pthread.h> #include <pthread.h>
#endif #endif
...@@ -400,7 +401,7 @@ void Distribution::thread_map(std::function<void(Scheduler &)> f) ...@@ -400,7 +401,7 @@ void Distribution::thread_map(std::function<void(Scheduler &)> f)
} }
counter.wait(); counter.wait();
if (ex) if (ex)
rethrow_exception(ex); std::rethrow_exception(ex);
} }
void execSingle(size_t nwork, std::function<void(Scheduler &)> func) void execSingle(size_t nwork, std::function<void(Scheduler &)> func)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment