forked from Qortal/Brooklyn
8 lines
139 B
Plaintext
8 lines
139 B
Plaintext
cat <<EOF
|
|
static __always_inline void
|
|
${arch}${atomic}_set_release(${atomic}_t *v, ${int} i)
|
|
{
|
|
smp_store_release(&(v)->counter, i);
|
|
}
|
|
EOF
|