diff options
| author | bors <bors@rust-lang.org> | 2020-09-17 19:23:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-17 19:23:58 +0000 |
| commit | f3c923a13a458c35ee26b3513533fce8a15c9c05 (patch) | |
| tree | 14fcec7aff0a007300065d99482ce964e887bb03 /compiler/rustc_llvm/src | |
| parent | 7bdb5dee7bac15458b10b148e9e24968e633053e (diff) | |
| parent | 0bb96e7490299977abf2d3af16dd752d67ca43a9 (diff) | |
| download | rust-f3c923a13a458c35ee26b3513533fce8a15c9c05.tar.gz rust-f3c923a13a458c35ee26b3513533fce8a15c9c05.zip | |
Auto merge of #76645 - fusion-engineering-forks:windows-lock, r=kennytm
Small cleanups in Windows Mutex. - Move `held` into the boxed part, since the SRW lock implementation does not use this. This makes the Mutex 50% smaller. - Use `Cell` instead of `UnsafeCell` for `held`, such that `.replace()` can be used. - Add some comments. - Avoid creating multiple `&mut`s to the critical section object in `ReentrantMutex`.
Diffstat (limited to 'compiler/rustc_llvm/src')
0 files changed, 0 insertions, 0 deletions
