From 48be17f15d0a5b585fcd18faa8f8f376c2ce646d Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Thu, 2 Aug 2018 11:08:23 +0200 Subject: [PATCH] Enable multithread in Partition (works with or without TBB) --- src/GEOMImpl/GEOMImpl_PartitionDriver.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx b/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx index 09ed9bb5d..c9ef674db 100644 --- a/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx @@ -309,6 +309,11 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(Handle(TFunction_Logbook)& lo PS.SetLimitMode(aCI.GetKeepNonlimitShapes()); PS.SetLimit((TopAbs_ShapeEnum)aCI.GetLimit()); + + // Set parallel processing mode (default is false) + Standard_Boolean bRunParallel = Standard_True; + PS.SetRunParallel(bRunParallel); + PS.Perform(); //skl PS.Compute(); -- 2.39.2