mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
- Update to 2.3.3 - Change the dependency from devel/tbb to devel/onetbb ChangeLog: https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.3.3 PR: 258483 Submitted by: Steve Wills <swills@FreeBSD.org> Reported by: teodorsigaev@gmail.com (tested), eborisch+FreeBSD@gmail.com (tested)
20 lines
615 B
C++
20 lines
615 B
C++
--- 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)
|