rust/library/std
Jack Huey ccd04a5281
Rollup merge of #84663 - CDirkx:dropguard, r=Mark-Simulacrum
Remove `DropGuard` in `sys::windows::process` and use `StaticMutex` instead

`StaticMutex` is a mutex that when locked provides a guard that unlocks the mutex again when dropped, thus provides the exact same functionality as `DropGuard`. `StaticMutex` is used in more places, and is thus preferred over an ad-hoc construct like `DropGuard`.

````@rustbot```` label: +T-libs-impl
2021-04-28 22:59:31 -04:00
..
benches
src Rollup merge of #84663 - CDirkx:dropguard, r=Mark-Simulacrum 2021-04-28 22:59:31 -04:00
tests Fix SGX CI, take 3 2020-12-07 15:22:34 +01:00
build.rs
Cargo.toml Auto merge of #83776 - jyn514:update-stdarch-docs, r=Amanieu 2021-04-12 18:29:25 +00:00