about summary refs log tree commit diff
path: root/library/std/src/sys_common/condvar/check.rs
AgeCommit message (Collapse)AuthorLines
2022-11-06std: remove lock wrappers in `sys_common`joboet-58/+0
2022-06-27make Condvar, Mutex, RwLock const constructors work with unsupported implJorge Aparicio-0/+1
2022-06-03Lazily allocate+initialize locks.Mara Bos-1/+2
2022-05-01Add commentAustin Kiekintveld-0/+2
2022-05-01Fix formattingAustin Kiekintveld-2/+6
2022-05-01Relax memory ordering used in SameMutexCheckAustin Kiekintveld-1/+1
`SameMutexCheck` only requires atomicity for `self.addr`, but does not need ordering of other memory accesses in either the success or failure case. Using `Relaxed`, the code still correctly handles the case when two threads race to store an address.
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-5/+7
Some things like the unwinders and system APIs are not fully conformant, this only covers a lot of low-hanging fruit.
2022-03-21Move pthread locks to own module.Mara Bos-4/+4
2020-12-22Migrate standard library away from compare_and_swapLinus Färnstrand-3/+3
2020-10-02Make it possible to have unboxed mutexes on specific platforms.Mara Bos-4/+29
This commit keeps all mutexes boxed on all platforms, but makes it trivial to remove the box on some platforms later.
2020-10-02Move boxing and mutex checking logic of condvar into sys_common.Mara Bos-0/+23