Orocos Real-Time Toolkit  2.8.3
Macros
oro_system.h File Reference
#include "oro_atomic.h"

Go to the source code of this file.

Macros

#define __HAVE_ARCH_CMPXCHG   1
 
#define oro_cmpxchg(ptr, o, n)
 

Macro Definition Documentation

#define __HAVE_ARCH_CMPXCHG   1

Definition at line 46 of file oro_system.h.

#define oro_cmpxchg (   ptr,
  o,
 
)
Value:
({ \
__typeof__(*(ptr)) _o_ = (o); \
__typeof__(*(ptr)) _n_ = (n); \
(__typeof__(*(ptr))) __oro_cmpxchg((ptr), (unsigned long)_o_, \
(unsigned long)_n_, sizeof(*(ptr))); \
})

Definition at line 94 of file oro_system.h.