Enable multithread in Partition (works with or without TBB)

This commit is contained in:
Christophe Bourcier 2018-08-02 11:08:23 +02:00
parent c4999d1655
commit 48be17f15d

View 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();