From: Christophe Bourcier Date: Thu, 2 Aug 2018 09:08:23 +0000 (+0200) Subject: Enable multithread in Partition (works with or without TBB) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a68738994fb3bbc667100a0bbb8aa290c5657f7d;p=modules%2Fgeom.git Enable multithread in Partition (works with or without TBB) --- 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();