summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2023-05-03 16:42:48 -0700
committerGitHub <noreply@github.com>2023-05-03 16:42:48 -0700
commit3fa0c087e4891724531009768001a464d74f85b0 (patch)
tree5b53f080840e3e9e2c2bfceeee7e6b1c7a815f78 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent38bbc3989570f51f0652f0aad4b3b675dfe09824 (diff)
parent9622cdee1ad9657dd93d67a9ffdbc16e196ee4fa (diff)
downloadrust-3fa0c087e4891724531009768001a464d74f85b0.tar.gz
Rollup merge of #105695 - joboet:remove_generic_parker, r=m-ou-se
Replace generic thread parker with explicit no-op parker With #98391 merged, all platforms supporting threads now have their own parking implementations. Therefore, the generic implementation can be removed. On the remaining platforms (really just WASM without atomics), parking is not supported, so calls to `thread::park` now return instantly, which is [allowed by their API](https://doc.rust-lang.org/nightly/std/thread/fn.park.html). This is a change in behaviour, as spurious wakeups do not currently occur since all platforms guard against them. It is invalid to depend on this, but I'm still going to tag this as libs-api for confirmation. ````@rustbot```` label +T-libs +T-libs-api +A-atomic r? rust-lang/libs
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions