| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-06 | std: remove lock wrappers in `sys_common` | joboet | -71/+0 | |
| 2022-09-25 | Auto merge of #98457 - japaric:gh98378, r=m-ou-se | bors | -0/+1 | |
| make Condvar, Mutex, RwLock const constructors work with the `unsupported` impl applying this patch locally to the `rust-src` component fixes #98378 however, the solution seems wrong to me because PR #97791 didn't add any `rustc_const_stable` attribute to underlying implementations like `std::sys::unix::futex`, so I must be missing something about how const-stability is checked ... maybe the `restricted_std` feature (gate?) has an effect? fixes #98378 fixes #98293 (probably) | ||||
| 2022-09-19 | std: use `sync::RwLock` for internal statics | joboet | -60/+0 | |
| 2022-06-27 | make Condvar, Mutex, RwLock const constructors work with unsupported impl | Jorge Aparicio | -0/+1 | |
| 2022-06-20 | Remove lies in comments. | Mara Bos | -3/+3 | |
| 2022-06-06 | Make {Mutex, Condvar, RwLock}::new() const. | Mara Bos | -1/+1 | |
| 2022-06-06 | Make all {Mutex, Condvar, RwLock}::new #[inline]. | Mara Bos | -0/+2 | |
| 2022-06-03 | Lazily allocate+initialize locks. | Mara Bos | -1/+1 | |
| 2022-06-03 | Use Drop instead of destroy() for locks. | Mara Bos | -6/+0 | |
| 2022-04-06 | Rename RWLock to RwLock in std::sys. | Mara Bos | -18/+18 | |
| 2022-03-21 | Move pthread locks to own module. | Mara Bos | -1/+1 | |
| 2021-06-01 | Multiple improvements to RwLocks | BenoƮt du Garreau | -37/+83 | |
| - Split `sys_common::RWLock` between `StaticRWLock` and `MovableRWLock` - Unbox `RwLock` on some platforms (Windows, Wasm and unsupported) - Simplify `RwLock::into_inner` | ||||
| 2021-04-21 | Move `sys_common::rwlock::StaticRWLock` etc. to `sys::unix::rwlock` | Christiaan Dirkx | -59/+0 | |
| 2021-03-14 | Revert "Revert "use RWlock when accessing os::env #81850"" | The8472 | -0/+59 | |
| This reverts commit acdca316c3d42299d31c1b47eb792006ffdfc29c. | ||||
| 2021-03-07 | Revert "use RWlock when accessing os::env #81850" | Eric Huss | -59/+0 | |
| This reverts commit 354f19cf2475148994954b6783341620c7445071, reversing changes made to 0cfba2fd090834c909d5ed9deccdee8170da791b. | ||||
| 2021-02-24 | library: Normalize safety-for-unsafe-block comments | Miguel Ojeda | -2/+2 | |
| Almost all safety comments are of the form `// SAFETY:`, so normalize the rest and fix a few of them that should have been a `/// # Safety` section instead. Furthermore, make `tidy` only allow the uppercase form. While currently `tidy` only checks `core`, it is a good idea to prevent `core` from drifting to non-uppercase comments, so that later we can start checking `alloc` etc. too. Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | ||||
| 2021-02-09 | split guard into read and write types | The8472 | -15/+14 | |
| 2021-02-08 | introduce StaticRWLock wrapper to make methods safe | The8472 | -49/+60 | |
| 2021-02-07 | silence dead code warnings on windows | The8472 | -0/+5 | |
| 2021-02-07 | use rwlock for accessing ENV | The8472 | -0/+44 | |
| 2020-07-27 | mv std libs to library/ | mark | -0/+88 | |
