File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
branches/snap-stage3/src/libstd/rt Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 915aaa7f67671186348b1b6c10d765a3d9ab6e37
4
+ refs/heads/snap-stage3: 5722c953e5180ae3e086b4354f65ee8b5fb8d868
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -197,12 +197,7 @@ pub fn run(main: ~fn()) -> int {
197
197
198
198
let nthreads = match os:: getenv ( "RUST_THREADS" ) {
199
199
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 ( ) }
206
201
} ;
207
202
208
203
let sleepers = SleeperList :: new ( ) ;
You can’t perform that action at this time.
0 commit comments