From e2a0dc78153ac4e077cea9f319282f28096dff1c Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Tue, 4 Oct 2022 14:33:09 +0200 Subject: [PATCH] Adding comments --- src/SMESH/SMESH_Gen.cxx | 15 +++++++++++++-- src/SMESH/SMESH_MeshLocker.cxx | 6 ++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 922a6df95..2a7e23af9 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -161,6 +161,11 @@ SMESH_Mesh* SMESH_Gen::CreateMesh(bool theIsEmbeddedMode) } +//============================================================================= +/*! + * Algo to run the computation of all the submeshes of a mesh in sequentila + */ +//============================================================================= bool SMESH_Gen::sequentialComputeSubMeshes( SMESH_Mesh & aMesh, @@ -225,8 +230,8 @@ bool SMESH_Gen::sequentialComputeSubMeshes( //============================================================================= /* - * Parallel compute of a submesh - * This function is used to pass to thread_pool + * compute of a submesh + * This function is passed to the thread pool */ //============================================================================= const std::functionLock(); } +/* + * When freed will run the command Unlock from the SMESH_Mesh associated + */ SMESH_MeshLocker::~SMESH_MeshLocker() { _myMesh->Unlock(); -- 2.30.2