Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-11-06 17:45:45 +0300
committerJacques Lucke <jacques@blender.org>2022-11-06 17:45:45 +0300
commit37ca6e4fd10fe8d42b8644ea354294b043d212aa (patch)
treef8d916fdffa517ab3a204fa76202b387d7d5b9bd /source/blender/blenlib/BLI_task.hh
parenta8865f3402544808e0d89faa661b463058960bbd (diff)
parent25c6444bad25fae14d1e8dae5d312e0511fcfb3f (diff)
Merge branch 'blender-v3.4-release'
Diffstat (limited to 'source/blender/blenlib/BLI_task.hh')
-rw-r--r--source/blender/blenlib/BLI_task.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_task.hh b/source/blender/blenlib/BLI_task.hh
index 9f9a57be634..e7d9a21439a 100644
--- a/source/blender/blenlib/BLI_task.hh
+++ b/source/blender/blenlib/BLI_task.hh
@@ -129,6 +129,7 @@ void parallel_invoke(const bool use_threading, Functions &&...functions)
template<typename Function> void isolate_task(const Function &function)
{
#ifdef WITH_TBB
+ lazy_threading::ReceiverIsolation isolation;
tbb::this_task_arena::isolate(function);
#else
function();