occt: master 00af0ebb

Author Committer Branch Timestamp Parent
oan bugmaster master 2017-09-15 14:22:30 master b92bc5ab
Affected Issues  0028931: Eliminate dependency from TBB in OSD_Parallel header
Changeset 0028931: Eliminate dependency from TBB in OSD_Parallel header

Implementation of methods OSD_Parallel::For() and ForEach() is moved to CXX files to avoid direct dependency of client code that uses OSD_Parallel on TBB headers, and necessity to link with TBB explicitly.
Runtime polymorphism (virtual methods) is used to hide implementation (TBB or threads-based).
mod - src/BOPCol/BOPCol_Parallel.hxx Diff File
mod - src/OSD/FILES Diff File
mod - src/OSD/OSD_Parallel.cxx Diff File
mod - src/OSD/OSD_Parallel.hxx Diff File
add - src/OSD/OSD_Parallel_TBB.cxx Diff File
add - src/OSD/OSD_Parallel_Threads.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/Select3D/Select3D_SensitivePrimitiveArray.cxx Diff File
mod - src/StdPrs/StdPrs_WFShape.cxx Diff File