Imported Upstream version 4.0.1

Former-commit-id: 757121caeaad523350be5330f0a3ecc891c70fb8
This commit is contained in:
Jo Shields
2015-04-26 19:10:23 +01:00
parent 7fce50ac98
commit c54b0bda4e
252 changed files with 16715 additions and 1176 deletions

View File

@ -54,7 +54,7 @@ namespace MonoTests.System.Threading
public void Constructor_Defaults ()
{
Assert.IsFalse (mre.IsSet, "#1");
Assert.AreEqual (10, mre.SpinCount, "#2");
Assert.AreEqual (Environment.ProcessorCount == 1 ? 1 : 10, mre.SpinCount, "#2");
}
[Test]