atomic.h File Reference
atomic add func  
More...
#include <coil/Mutex.h>
#include <coil/Guard.h>
Go to the source code of this file.
Detailed Description
atomic add func 
- Date:
 - $Date$ 
 
- Author:
 - Noriaki Ando <n-ando@aist.go.jp>
 
Copyright (C) 2008 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
$Id$ 
Define Documentation
      
        
          | #define atomic_add | 
          ( | 
          x,  | 
        
        
           | 
           | 
          y  | 
           | 
           )  | 
           | 
        
      
 
 
      
        
          | #define atomic_decr | 
          ( | 
          x  | 
           | 
           )  | 
           | 
        
      
 
 
      
        
          | #define atomic_exchange_add | 
          ( | 
          x,  | 
        
        
           | 
           | 
          y  | 
           | 
           )  | 
             exchange_add(x, y, &__mutex) | 
        
      
 
 
      
        
          | #define atomic_incr | 
          ( | 
          x  | 
           | 
           )  | 
           | 
        
      
 
 
Function Documentation
      
        
          | int exchange_add  | 
          ( | 
          int *  | 
           x,  | 
        
        
           | 
           | 
          int  | 
           y,  | 
        
        
           | 
           | 
          coil::Mutex *  | 
           mutex |   | 
        
        
           | 
          ) | 
           |  |  |