From: Yoann Audouin Date: Tue, 4 Oct 2022 12:33:09 +0000 (+0200) Subject: Adding comments X-Git-Tag: V9_10_0b1~9^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2a0dc78153ac4e077cea9f319282f28096dff1c;p=modules%2Fsmesh.git Adding comments --- 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();