diff options
| author | Sean Cross <sean@xobs.io> | 2023-12-24 15:07:05 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2024-01-13 09:13:56 -0800 |
| commit | eabd445053ddf9217ab9b464b5ec239fcaf416d3 (patch) | |
| tree | f0341103d3d214f22d64f3de4898532ef7956c57 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | b5c1c47990b7a32dbc0fd93f4c807b565814f1c2 (diff) | |
| download | rust-eabd445053ddf9217ab9b464b5ec239fcaf416d3.tar.gz rust-eabd445053ddf9217ab9b464b5ec239fcaf416d3.zip | |
std: xous: rewrite rwlock to be more robust
Add more checks to RwLock on Xous. As part of this, ensure the variable is in a good state when unlocking. Additionally, use the global `yield_now()` rather than platform-specific `do_yield()`. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
