Ignore:
Timestamp:
06/12/23 11:52:10 (13 months ago)
Author:
ymipsl
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/manager/window_manager.cpp

    r1761 r2517  
    77{ 
    88   
    9    
     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 ; 
    1015} 
    1116 
Note: See TracChangeset for help on using the changeset viewer.