RTEMS CPU Kit with SuperCore  4.11.3
atomic.h
Go to the documentation of this file.
1 #ifndef __ASM_ATOMIC_H__
2 #define __ASM_ATOMIC_H__
3 
4 #define atomic_t int
5 #define atomic_inc(atom) (*atom)++
6 #define atomic_dec(atom) (*atom)--
7 #define atomic_read(atom) (*atom)
8 
9 
10 #endif /* __ASM_ATOMIC_H__ */