about summary refs log tree commit diff
path: root/library/std/src/sys/windows/locks
AgeCommit message (Collapse)AuthorLines
2024-01-11std: begin moving platform support modules into `pal`joboet-150/+0
2022-11-06std: remove lock wrappers in `sys_common`joboet-26/+21
2022-09-20Auto merge of #100581 - joboet:sync_rwlock_everywhere, r=thomccbors-1/+1
std: use `sync::RwLock` for internal statics Since `sync::RwLock` is now `const`-constructible, it can be used for internal statics, removing the need for `sys_common::StaticRwLock`. This adds some extra allocations on platforms which need to box their locks (currently SGX and some UNIX), but these will become unnecessary with the lock improvements tracked in #93740.
2022-09-19std: use `sync::RwLock` for internal staticsjoboet-1/+1
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-2/+0
2022-06-06Make all {Mutex, Condvar, RwLock}::new #[inline].Mara Bos-0/+3
2022-06-03Lazily allocate+initialize locks.Mara Bos-3/+0
2022-06-03Use Drop instead of destroy() for locks.Mara Bos-14/+0
2022-04-16Use a single ReentrantMutex implementation on all platforms.Mara Bos-36/+1
2022-04-06Rename RWLock to RwLock in std::sys.Mara Bos-8/+8
2022-03-22Move std::sys::{mutex, condvar, rwlock} to std::sys::locks.Mara Bos-0/+206