use AtomicU64::fetch_update instead of handrolled RMW-loop

This commit is contained in:
The8472 2021-09-17 18:42:16 +02:00
parent 2b512cc329
commit 57465d9c1b
2 changed files with 10 additions and 14 deletions

View file

@ -234,6 +234,7 @@
#![feature(atomic_mut_ptr)]
#![feature(auto_traits)]
#![feature(bench_black_box)]
#![feature(bool_to_option)]
#![feature(box_syntax)]
#![feature(c_unwind)]
#![feature(c_variadic)]