Changes in uspace/lib/c/include/barrier.h [bed67f2:4805495] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/barrier.h
rbed67f2 r4805495 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.