mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027814: Parallelize BRepCheck_Analyzer
Change BRepCheck_Analyzer::Perform algorithm from recursion to 'for' loop Add parallelization to BRepCheck_Analyzer::Perform Add '-parallel' option to checkshape command to use parallelization. Default mode is single-thread. mutex as Handle
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Standard_ErrorHandler.hxx>
|
||||
#include <NCollection_Shared.hxx>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
@@ -169,6 +170,8 @@ private:
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef NCollection_Shared<Standard_Mutex> Standard_HMutex;
|
||||
|
||||
// Implementation of the method Unlock is inline, since it is
|
||||
// just a shortcut to system function
|
||||
inline void Standard_Mutex::Unlock ()
|
||||
|
Reference in New Issue
Block a user