source: XIOS3/trunk/src/manager/window_manager.cpp @ 2517

Last change on this file since 2517 was 2517, checked in by ymipsl, 13 months ago

New way to manage locks in window manager. Windows is locked with MPI_Win_lock_all at creation (shared mode), and lock is manage by software way in the class (using MPI_swap_and_compare and MPI_Fetch_op). We get in this case a better control of lock, with controled latency between each attemp of lock.

YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 368 bytes
Line 
1#include "window_manager.hpp"
2#include "mpi.hpp"
3
4
5
6namespace xios
7{
8 
9    const MPI_Aint CWindowManager::OFFSET_LOCK ;
10    const int CWindowManager::SIZE_LOCK ;
11    const MPI_Aint CWindowManager::OFFSET_BUFFER_SIZE ;
12    const int CWindowManager::SIZE_BUFFER_SIZE ;
13    const MPI_Aint CWindowManager::OFFSET_BUFFER;
14    const int CWindowManager::WINDOWS_LOCKED ;
15}
16
Note: See TracBrowser for help on using the repository browser.