read/write volatile
read/write volatile
Posted Jan 9, 2026 19:54 UTC (Fri) by mb (subscriber, #50428)In reply to: read/write volatile by josh
Parent article: READ_ONCE(), WRITE_ONCE(), but not for Rust
Yes. Should not.
As I said, it's an LLVM problem on AVR. Which is not a stable tier.
Atomic always use heavy syncing on AVR in the current compiler.
As I said, it's an LLVM problem on AVR. Which is not a stable tier.
Atomic always use heavy syncing on AVR in the current compiler.
But that was not my point.
My point was that I think volatile accesses are not sound in Rust for inter thread communication.
