diff options
Diffstat (limited to '')
-rw-r--r-- | scripts/atomic/fallbacks/xchg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/atomic/fallbacks/xchg b/scripts/atomic/fallbacks/xchg new file mode 100644 index 0000000000..e4def1e0d0 --- /dev/null +++ b/scripts/atomic/fallbacks/xchg @@ -0,0 +1,3 @@ +cat <<EOF + return raw_xchg${order}(&v->counter, new); +EOF |