Changes in uspace/lib/c/include/barrier.h [4805495:bed67f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/barrier.h
r4805495 rbed67f2 33 33 */ 34 34 35 #ifndef _LIBC_COMPILER_BARRIER_H_36 #define _LIBC_COMPILER_BARRIER_H_35 #ifndef LIBC_COMPILER_BARRIER_H_ 36 #define LIBC_COMPILER_BARRIER_H_ 37 37 38 38 #include <stdatomic.h> … … 61 61 #define ACCESS_ONCE(var) (*((volatile typeof(var)*)&(var))) 62 62 63 #endif /* _LIBC_COMPILER_BARRIER_H_ */63 #endif /* LIBC_COMPILER_BARRIER_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.