mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +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.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