David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | cat <<EOF |
2 | static inline ${ret} | ||||
3 | ${atomic}_${pfx}${name}${sfx}_acquire(${params}) | ||||
4 | { | ||||
5 | ${ret} ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args}); | ||||
6 | __atomic_acquire_fence(); | ||||
7 | return ret; | ||||
8 | } | ||||
9 | EOF |