Skip to content

Commit c9d95ba

Browse files
atafradopitz
authored andcommitted
fix rare hang in rtcNewDevice with start_threads=1
1 parent ffc56d5 commit c9d95ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/tasking/taskschedulertbb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ namespace embree
6565
BarrierSys barrier(numThreads);
6666
tbb::parallel_for(size_t(0), size_t(numThreads), size_t(1), [&] ( size_t i ) {
6767
barrier.wait();
68-
});
68+
}, tbb::static_partitioner());
6969
}
7070
}
7171

0 commit comments

Comments
 (0)