#include <ostream>
#include <boost/filesystem.hpp>
-#ifndef DISABLE_PARASMESH
+#ifndef WIN32
#include <boost/asio/thread_pool.hpp>
#include <boost/thread.hpp>
#endif
// Parallel computation functions
-#ifdef DISABLE_PARASMESH
+#ifdef WIN32
void Lock() {};
void Unlock() {};
// Temporary folder used during parallel Computation
boost::filesystem::path tmp_folder;
- #ifndef DISABLE_PARASMESH
+ #ifndef WIN32
boost::asio::thread_pool * _pool = nullptr; //thread pool for computation
#endif
TCallUp* _callUp;
// Mutex for multhitreading write in SMESH_Mesh
-#ifndef DISABLE_PARASMESH
+#ifndef WIN32
boost::mutex _my_lock;
#endif
int _NbThreads=0;