]> git.lizzy.rs Git - rust.git/commit
libcore: Use 4x the number of scheduler threads for testing
authorBrian Anderson <banderson@mozilla.com>
Thu, 19 Jan 2012 22:43:56 +0000 (14:43 -0800)
committerBrian Anderson <banderson@mozilla.com>
Fri, 20 Jan 2012 01:54:21 +0000 (17:54 -0800)
commit6d4884d983fbf931740be064dfe5b9b01e6118c3
treee983dbef1ee0dfa7d630b2fd91e1cf7365885daa
parent928e55815c8ec773d465a367605fa95832cce7d4
libcore: Use 4x the number of scheduler threads for testing

An arbitrary number. I've done no measurements but it's intended to overcome
the effects of tasks randomly being scheduled to threads and no work stealing.

If scheduler threads == 1 then we just use a single test task.
src/compiletest/compiletest.rs
src/libstd/test.rs