Files
OCCT/src/ModelingData/TKBRep/TopTools/FILES.cmake
Pasukhin Dmitry 787bee375c Coding - Replace Standard_Mutex with std::mutex and migrate to RAII locks (#766)
- Replace legacy Standard_Mutex usage across many modules with std::mutex.
- Include <mutex> where needed and remove <Standard_Mutex.hxx> includes.
- Replace Standard_Mutex::Sentry / explicit Lock/Unlock with std::lock_guard or std::unique_lock.
- Convert optional/heap mutex holders to std::unique_ptr<std::mutex> and adapt locking accordingly.
- Simplify several singleton initializations (remove manual double-checked locking where safe).
- Use thread_local for per-thread flags instead of ad-hoc mutex protection.
- Fix BVH_BuildQueue Fetch logic to preserve thread counters and wasBusy handling.
- Remove obsolete TopTools_MutexForShapeProvider sources and update FILES.cmake.

This modernizes mutex usage, reduces dependency on custom mutex types and improves clarity of locking patterns.
2025-11-03 16:44:08 +00:00

57 lines
2.1 KiB
CMake

# Source files for TopTools package
set(OCCT_TopTools_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
set(OCCT_TopTools_FILES
TopTools.cxx
TopTools.hxx
TopTools_Array1OfListOfShape.hxx
TopTools_Array1OfShape.hxx
TopTools_Array2OfShape.hxx
TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape.hxx
TopTools_DataMapIteratorOfDataMapOfIntegerShape.hxx
TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger.hxx
TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape.hxx
TopTools_DataMapIteratorOfDataMapOfShapeInteger.hxx
TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger.hxx
TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx
TopTools_DataMapIteratorOfDataMapOfShapeReal.hxx
TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape.hxx
TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx
TopTools_DataMapOfIntegerListOfShape.hxx
TopTools_DataMapOfIntegerShape.hxx
TopTools_DataMapOfOrientedShapeInteger.hxx
TopTools_DataMapOfOrientedShapeShape.hxx
TopTools_DataMapOfShapeBox.hxx
TopTools_DataMapOfShapeInteger.hxx
TopTools_DataMapOfShapeListOfInteger.hxx
TopTools_DataMapOfShapeListOfShape.hxx
TopTools_DataMapOfShapeReal.hxx
TopTools_DataMapOfShapeSequenceOfShape.hxx
TopTools_DataMapOfShapeShape.hxx
TopTools_FormatVersion.hxx
TopTools_HArray1OfListOfShape.hxx
TopTools_HArray1OfShape.hxx
TopTools_HArray2OfShape.hxx
TopTools_HSequenceOfShape.hxx
TopTools_IndexedDataMapOfShapeAddress.hxx
TopTools_IndexedDataMapOfShapeListOfShape.hxx
TopTools_IndexedDataMapOfShapeReal.hxx
TopTools_IndexedDataMapOfShapeShape.hxx
TopTools_IndexedMapOfOrientedShape.hxx
TopTools_IndexedMapOfShape.hxx
TopTools_ListIteratorOfListOfShape.hxx
TopTools_ListOfListOfShape.hxx
TopTools_ListOfShape.hxx
TopTools_LocationSet.cxx
TopTools_LocationSet.hxx
TopTools_LocationSetPtr.hxx
TopTools_MapIteratorOfMapOfOrientedShape.hxx
TopTools_MapIteratorOfMapOfShape.hxx
TopTools_MapOfOrientedShape.hxx
TopTools_MapOfShape.hxx
TopTools_SequenceOfShape.hxx
TopTools_ShapeMapHasher.hxx
TopTools_ShapeSet.cxx
TopTools_ShapeSet.hxx
)