summaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp')
-rw-r--r--cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp b/cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp
new file mode 100644
index 000000000000..673e157e0775
--- /dev/null
+++ b/cad/PrusaSlicer/files/patch-src_libslic3r_SLA_Concurrency.hpp
@@ -0,0 +1,20 @@
+--- src/libslic3r/SLA/Concurrency.hpp.orig 2021-08-14 22:14:14 UTC
++++ src/libslic3r/SLA/Concurrency.hpp
+@@ -2,7 +2,7 @@
+ #define SLA_CONCURRENCY_H
+
+ #include <tbb/spin_mutex.h>
+-#include <tbb/mutex.h>
++#include <mutex>
+ #include <tbb/parallel_for.h>
+ #include <tbb/parallel_reduce.h>
+
+@@ -23,7 +23,7 @@ template<bool> struct _ccr {};
+ template<> struct _ccr<true>
+ {
+ using SpinningMutex = tbb::spin_mutex;
+- using BlockingMutex = tbb::mutex;
++ using BlockingMutex = std::mutex;
+
+ template<class Fn, class It>
+ static IteratorOnly<It, void> loop_(const tbb::blocked_range<It> &range, Fn &&fn)