about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2018-07-24 16:43:44 -0600
committerGitHub <noreply@github.com>2018-07-24 16:43:44 -0600
commit06ba69d043efd5612aad2aa4903125d34eba17d4 (patch)
tree9ffce52d8b60a116b13a0b0c48202028f65629e5 /src/libstd
parent487e961c6ae072d969e148def0b0856c2367ae00 (diff)
parent303306cf5ede678719ec1324bb02d3d02c014183 (diff)
downloadrust-06ba69d043efd5612aad2aa4903125d34eba17d4.tar.gz
rust-06ba69d043efd5612aad2aa4903125d34eba17d4.zip
Rollup merge of #52391 - Amanieu:volatile_unaligned, r=alexcrichton
Add unaligned volatile intrinsics

Surprisingly enough, it turns out that unaligned volatile loads are actually useful for certain (very niche) types of lock-free code. I included unaligned volatile stores for completeness, but I currently do not know of any use cases for them.

These are only exposed as intrinsics for now. If they turn out to be useful in practice, we can work towards stabilizing them.

r? @alexcrichton
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions