auto merge of #20925 : alexcrichton/rust/more-flaky-test, r=sfackler

I saw these hanging on a windows bot, and the previous ones seem to have calmed
down after switching from Thread::spawn to Thread::scoped, so try that here as
well!
This commit is contained in:
bors 2015-01-11 09:01:00 +00:00
commit 71a71ce4f9
2 changed files with 2 additions and 2 deletions

View File

@ -19,5 +19,5 @@ fn f() {
}
pub fn main() {
let _t = Thread::spawn(f);
let _t = Thread::scoped(f);
}

View File

@ -15,7 +15,7 @@
use std::thread::Thread;
fn main() {
let _ = Thread::spawn(move|| {
let _ = Thread::scoped(move|| {
other::foo()
});
}