| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [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 | ||||