mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Enable multithread in Partition (works with or without TBB)
This commit is contained in:
parent
c4999d1655
commit
48be17f15d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user