File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 3131#define  atomic64_cond_read_acquire (v , c ) smp_cond_load_acquire(&(v)->counter, (c))
3232#define  atomic64_cond_read_relaxed (v , c ) smp_cond_load_relaxed(&(v)->counter, (c))
3333
34+ #define  atomic_cond_read_acquire_timeout (v , c , t ) \
35+ 	smp_cond_load_acquire_timeout(&(v)->counter, (c), (t))
36+ #define  atomic_cond_read_relaxed_timeout (v , c , t ) \
37+ 	smp_cond_load_relaxed_timeout(&(v)->counter, (c), (t))
38+ 
39+ #define  atomic64_cond_read_acquire_timeout (v , c , t ) \
40+ 	smp_cond_load_acquire_timeout(&(v)->counter, (c), (t))
41+ #define  atomic64_cond_read_relaxed_timeout (v , c , t ) \
42+ 	smp_cond_load_relaxed_timeout(&(v)->counter, (c), (t))
43+ 
3444/* 
3545 * The idea here is to build acquire/release variants by adding explicit 
3646 * barriers on top of the relaxed variant. In the case where the relaxed 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments