Salome HOME
Replacing std::mutex by boost::mutex as std::mutex is not on S10
authorYoann Audouin <yoann.audouin@edf.fr>
Mon, 10 Oct 2022 08:54:28 +0000 (10:54 +0200)
committerYoann Audouin <yoann.audouin@edf.fr>
Tue, 18 Oct 2022 13:02:19 +0000 (15:02 +0200)
src/SMESH/SMESH_Mesh.hxx

index ed897979f1f448adc2826abee44248081bc40034..18da4e93f0830dd7201c943af091a4b08ece2cfd 100644 (file)
 #include <list>
 #include <vector>
 #include <ostream>
+
 #include <boost/filesystem.hpp>
 #include <boost/asio/thread_pool.hpp>
+#include <boost/thread.hpp>
 
 #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: