mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
Enable multithread in Partition (works with or without TBB)
This commit is contained in:
parent
1be0dcd9a7
commit
a68738994f
@ -309,6 +309,11 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(Handle(TFunction_Logbook)& lo
|
|||||||
|
|
||||||
PS.SetLimitMode(aCI.GetKeepNonlimitShapes());
|
PS.SetLimitMode(aCI.GetKeepNonlimitShapes());
|
||||||
PS.SetLimit((TopAbs_ShapeEnum)aCI.GetLimit());
|
PS.SetLimit((TopAbs_ShapeEnum)aCI.GetLimit());
|
||||||
|
|
||||||
|
// Set parallel processing mode (default is false)
|
||||||
|
Standard_Boolean bRunParallel = Standard_True;
|
||||||
|
PS.SetRunParallel(bRunParallel);
|
||||||
|
|
||||||
PS.Perform();
|
PS.Perform();
|
||||||
|
|
||||||
//skl PS.Compute();
|
//skl PS.Compute();
|
||||||
|
Loading…
Reference in New Issue
Block a user