From 15e456d54757dded70bf4a4bd8e11256f0cceb5d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 20 Aug 2011 13:02:26 -0700 Subject: [PATCH] Convert task-perf-spawnalot to spawn_joinable. XFAIL --- src/test/bench/task-perf-spawnalot.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/bench/task-perf-spawnalot.rs b/src/test/bench/task-perf-spawnalot.rs index 150853e23289..c089a890da55 100644 --- a/src/test/bench/task-perf-spawnalot.rs +++ b/src/test/bench/task-perf-spawnalot.rs @@ -1,3 +1,7 @@ +// xfail-stage1 +// xfail-stage2 +// xfail-stage3 + use std; import std::vec; import std::task; @@ -6,7 +10,9 @@ import std::str; fn f(n: uint) { let i = 0u; - while i < n { let thunk = g; task::join_id(task::spawn(thunk)); i += 1u; } + while i < n { + let thunk = g; + task::join(task::spawn_joinable(thunk)); i += 1u; } } fn g() { }