File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,10 @@ BEGIN_C_DECLS
6363 * at other times as needed or as tuning dictates. 
6464 */ 
6565extern  uint64_t  opal_btl_usnic_ticks ;
66+ 
67+ /* Lock for MPU_THREAD_MULTIPLE support */ 
68+ extern  opal_recursive_mutex_t  btl_usnic_lock ;
69+ 
6670static  inline  uint64_t 
6771get_nsec (void )
6872{
Original file line number Diff line number Diff line change 8787#define  OPAL_BTL_USNIC_NUM_COMPLETIONS  500
8888
8989/* MPI_THREAD_MULTIPLE_SUPPORT */ 
90- opal_recursive_mutex_t  btl_usnic_lock ;
90+ opal_recursive_mutex_t  btl_usnic_lock   =    OPAL_RECURSIVE_MUTEX_STATIC_INIT ;
9191
9292/* RNG buffer definition */ 
9393opal_rng_buff_t  opal_btl_usnic_rand_buff  =  {0 };
Original file line number Diff line number Diff line change 5353
5454BEGIN_C_DECLS 
5555
56- /* 
57-  * MPI_THREAD_MULTIPLE support 
58-  */ 
59- extern  opal_recursive_mutex_t  btl_usnic_lock ;
60- 
61- 
6256/* 
6357 * Forward declarations to avoid include loops 
6458 */ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments