Skip to content

Commit 3d91604

Browse files
committed
---
yaml --- r: 63474 b: refs/heads/snap-stage3 c: 5722c95 h: refs/heads/master v: v3
1 parent 6fea534 commit 3d91604

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 915aaa7f67671186348b1b6c10d765a3d9ab6e37
4+
refs/heads/snap-stage3: 5722c953e5180ae3e086b4354f65ee8b5fb8d868
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libstd/rt/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,7 @@ pub fn run(main: ~fn()) -> int {
197197

198198
let nthreads = match os::getenv("RUST_THREADS") {
199199
Some(nstr) => FromStr::from_str(nstr).get(),
200-
None => unsafe {
201-
// Using more threads than cores in test code
202-
// to force the OS to preempt them frequently.
203-
// Assuming that this help stress test concurrent types.
204-
util::num_cpus() * 2
205-
}
200+
None => unsafe { util::num_cpus() }
206201
};
207202

208203
let sleepers = SleeperList::new();

0 commit comments

Comments
 (0)