OpenCloudOS-Kernel/scripts/atomic/fallbacks/dec_and_test

4 lines
56 B
Plaintext
Executable File

cat <<EOF
return raw_${atomic}_dec_return(v) == 0;
EOF