From 419f8f46e5130722f178e7d3dcc40a451ed3c1a1 Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Mon, 16 Jan 2023 10:41:35 +0100 Subject: [PATCH] More comments --- src/SMESH/SMESH_subMesh.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) { -- 2.30.2