about summary refs log tree commit diff
path: root/library/std/tests/sync/lib.rs
AgeCommit message (Collapse)AuthorLines
2025-09-11update doc commentConnor Tsui-1/+1
Co-authored-by: Ralf Jung <post@ralfj.de>
2025-09-11fix config for poison macro testConnor Tsui-0/+3
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
2025-08-23add nonpoison and poison condvar testsConnor Tsui-0/+1
Adds tests for the `nonpoison::Mutex` variant by using a macro to duplicate the existing `poison` tests. Note that all of the tests here are adapted from the existing `poison` tests. Also steals the `test_mutex_arc_condvar` test from `mutex.rs`. Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
2025-08-09add nonpoison and poison rwlock testsConnor Tsui-0/+1
Adds tests for the `nonpoison::RwLock` variant by using a macro to duplicate the existing `poison` tests. Note that all of the tests here are adapted from the existing `poison` tests.
2025-07-29add nonpoison and poison mutex testsConnor Tsui-0/+55
Adds tests for the `nonpoison::Mutex` variant by using a macro to duplicate the existing `poison` tests. Note that all of the tests here are adapted from the existing `poison` tests.
2025-02-02Remove stabilized feature gatebjorn3-1/+0
2025-01-26Move std::sync unit tests to integration testsbjorn3-0/+32
This removes two minor OnceLock tests which test private methods. The rest of the tests should be more than enough to catch mistakes in those private methods. Also makes ReentrantLock::try_lock public. And finally it makes the mpmc tests actually run.