mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
fix a missing thread join
This commit is contained in:
@@ -219,10 +219,8 @@ fn park_unpark() {
|
||||
// know Miri's timed synchronization primitives do not do that.
|
||||
|
||||
assert!((200..1000).contains(&start.elapsed().as_millis()));
|
||||
}
|
||||
|
||||
fn check_condvar() {
|
||||
let _ = std::sync::Condvar::new();
|
||||
t2.join().unwrap();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
@@ -236,5 +234,4 @@ fn main() {
|
||||
check_once();
|
||||
park_timeout();
|
||||
park_unpark();
|
||||
check_condvar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user