rust/library/std/tests/sync
bors c7a635f33c Auto merge of #147910 - joboet:wait_timeout-spurious-test, r=ChrisDenton
handle spurious returns of `wait_timeout` in test

Fixes https://github.com/rust-lang/rust/issues/147885
Closes https://github.com/rust-lang/rust/pull/147871

`wait_timeout` is allowed to spuriously return, hence the `timeout_nanoseconds` must not assume that the wakeup resulted from a `notify_all()`.
2025-10-20 22:04:39 +00:00
..
barrier.rs Make the compile test use a const instead 2025-09-09 17:14:38 +02:00
condvar.rs handle spurious returns of wait_timeout in test 2025-10-20 17:53:49 +02:00
lazy_lock.rs modify LazyLock poison panic message 2025-08-22 14:59:34 -04:00
lib.rs Rollup merge of #143191 - connortsui20:stabilize-rwlock-downgrade, r=tgross35 2025-10-15 23:41:00 +02:00
mpmc.rs library: Increase timeout on mpmc test to reduce flakes 2025-06-17 16:10:37 -07:00
mpsc.rs Avoid a gratuitous 10s wait in a stress test 2025-06-08 20:22:07 -07:00
mpsc_sync.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
mutex.rs Implement non-poisoning Mutex::with_mut, RwLock::with and RwLock::with_mut 2025-10-04 17:16:00 +08:00
once.rs Mark some std tests as requiring panic = "unwind" 2025-03-10 08:31:06 -07:00
once_lock.rs Mark some std tests as requiring panic = "unwind" 2025-03-10 08:31:06 -07:00
reentrant_lock.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
rwlock.rs Implement non-poisoning Mutex::with_mut, RwLock::with and RwLock::with_mut 2025-10-04 17:16:00 +08:00