source: XIOS3/trunk/src/manager/thread_manager.cpp @ 2547

Last change on this file since 2547 was 2547, checked in by ymipsl, 10 months ago

Major update :

  • New method to lock and unlock one-sided windows (window_dynamic) to avoid network overhead
  • Introducing multithreading on server sided to manage more efficiently dead-lock occuring (similar to co-routine which will be available and implemented in futur c++ standard), based on c++ threads
  • Suprression of old "attached mode" which is replaced by online writer and reder filters

YM

  • Property svn:executable set to *
File size: 303 bytes
Line 
1#include "thread_manager.hpp"
2
3namespace xios
4{
5  std::mutex* CThreadManager::mtx_;
6  std::map<std::thread::id, CThreadManager::SThreadInfo>* CThreadManager::threads_;
7  std::thread::id CThreadManager::masterThreadId_ = std::this_thread::get_id() ;
8  bool CThreadManager::usingThreads_=false ;
9}
Note: See TracBrowser for help on using the repository browser.