diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-01-05 21:59:45 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2015-01-06 14:57:52 -0800 |
| commit | caca9b2e7109a148d100a3c6851241d3815da3db (patch) | |
| tree | b49ae965c7392d0c527aba9c427d4e9e224f8750 /src/test/bench/task-perf-alloc-unwind.rs | |
| parent | f67b81e8d4dc198ad10ad50a7624e43cc1e25802 (diff) | |
| download | rust-caca9b2e7109a148d100a3c6851241d3815da3db.tar.gz rust-caca9b2e7109a148d100a3c6851241d3815da3db.zip | |
Fallout from stabilization
Diffstat (limited to 'src/test/bench/task-perf-alloc-unwind.rs')
| -rw-r--r-- | src/test/bench/task-perf-alloc-unwind.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/task-perf-alloc-unwind.rs b/src/test/bench/task-perf-alloc-unwind.rs index 9e78ede74ca..55e8dcbb6e8 100644 --- a/src/test/bench/task-perf-alloc-unwind.rs +++ b/src/test/bench/task-perf-alloc-unwind.rs @@ -36,7 +36,7 @@ fn main() { fn run(repeat: int, depth: int) { for _ in range(0, repeat) { let dur = Duration::span(|| { - let _ = Thread::spawn(move|| { + let _ = Thread::scoped(move|| { recurse_or_panic(depth, None) }).join(); }); |
