1cat <<EOF 2static inline void 3${atomic}_set_release(${atomic}_t *v, ${int} i) 4{ 5 smp_store_release(&(v)->counter, i); 6} 7EOF 8