Changes in uspace/lib/c/arch/abs32le/include/libarch/atomic.h [aebcd42:c1023bcb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/include/libarch/atomic.h
raebcd42 rc1023bcb 36 36 #define LIBC_abs32le_ATOMIC_H_ 37 37 38 #include < bool.h>38 #include <stdbool.h> 39 39 40 40 #define LIBC_ARCH_ATOMIC_H_ … … 53 53 } 54 54 55 static inline void atomic_inc(atomic_t *val) { 55 static inline void atomic_inc(atomic_t *val) 56 { 56 57 /* On real hardware the increment has to be done 57 58 as an atomic action. */ … … 60 61 } 61 62 62 static inline void atomic_dec(atomic_t *val) { 63 static inline void atomic_dec(atomic_t *val) 64 { 63 65 /* On real hardware the decrement has to be done 64 66 as an atomic action. */
Note:
See TracChangeset
for help on using the changeset viewer.