mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-14 19:25:53 +00:00
8 lines
141 B
Plaintext
8 lines
141 B
Plaintext
cat <<EOF
|
|
static __always_inline ${ret}
|
|
${arch}${atomic}_read_acquire(const ${atomic}_t *v)
|
|
{
|
|
return smp_load_acquire(&(v)->counter);
|
|
}
|
|
EOF
|