about summary refs log tree commit diff
path: root/library/std/src/sys_common/remutex.rs
AgeCommit message (Collapse)AuthorLines
2022-11-14std: move `ReentrantMutex` to `sync`joboet-178/+0
2022-11-06std: remove lock wrappers in `sys_common`joboet-5/+5
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-34/+12
2022-06-03Use Drop instead of destroy() for locks.Mara Bos-7/+0
2022-04-16Use a single ReentrantMutex implementation on all platforms.Mara Bos-13/+86
2022-03-21Move pthread locks to own module.Mara Bos-1/+1
2020-12-08Use Pin for the 'don't move' requirement of ReentrantMutex.Mara Bos-33/+19
The code in io::stdio before this change misused the ReentrantMutexes, by calling init() on them and moving them afterwards. Now that ReentrantMutex requires Pin for init(), this mistake is no longer easy to make.
2020-12-08Remove unnecessary import of `crate::marker` in std::sys_common::remutex.Mara Bos-2/+1
It was used for marker::Send, but Send is already in scope.
2020-09-24Remove workaround for deref issue that no longer exists.Mara Bos-6/+4
The double underscores were used to work around issue #12808, which was solved in 2016.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-76/+3
Also doing fmt inplace as requested.
2020-07-27mv std libs to library/mark-0/+224