From: Yoann Audouin Date: Mon, 16 Jan 2023 09:41:35 +0000 (+0100) Subject: More comments X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=419f8f46e5130722f178e7d3dcc40a451ed3c1a1;p=modules%2Fsmesh.git More comments --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 76dfb83e1..bc3aa8792 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1515,7 +1515,8 @@ bool SMESH_subMesh::ComputeStateEngine(compute_event event) TopoDS_Shape shape = _subShape; algo->setSubMeshesToCompute(this); // check submeshes needed - // In parallel there would be no submesh to check + // When computing in parallel mode we do not have a additional layer of submesh + // The check should not be done in parallel as that check is not thread-safe if (_father->HasShapeToMesh() && !_father->IsParallel()) { bool subComputed = false, subFailed = false; if (!algo->OnlyUnaryInput()) {