]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Enable multithread in Partition (works with or without TBB)
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 2 Aug 2018 09:08:23 +0000 (11:08 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Mon, 1 Oct 2018 13:57:01 +0000 (15:57 +0200)
src/GEOMImpl/GEOMImpl_PartitionDriver.cxx

index 09ed9bb5d5a4f01b98d9b6bbd9ef12ffdaf87296..c9ef674dbe165651ea985900946ffdc69989575a 100644 (file)
@@ -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();