From: Yoann Audouin Date: Mon, 10 Oct 2022 08:54:28 +0000 (+0200) Subject: Replacing std::mutex by boost::mutex as std::mutex is not on S10 X-Git-Tag: V9_10_0b1~9^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60aec28a5528da6969b1bb90310a0bf1a4d2fa59;p=modules%2Fsmesh.git Replacing std::mutex by boost::mutex as std::mutex is not on S10 --- diff --git a/src/SMESH/SMESH_Mesh.hxx b/src/SMESH/SMESH_Mesh.hxx index ed897979f..18da4e93f 100644 --- a/src/SMESH/SMESH_Mesh.hxx +++ b/src/SMESH/SMESH_Mesh.hxx @@ -47,8 +47,10 @@ #include #include #include + #include #include +#include #ifdef WIN32 #pragma warning(disable:4251) // Warning DLL Interface ... @@ -451,7 +453,7 @@ protected: TCallUp* _callUp; // Mutex for multhitreading write in SMESH_Mesh - std::mutex _my_lock; + boost::mutex _my_lock; int _NbThreads=0; protected: