Fix test for Thread constructor taking stack size (dotnet/corefx#29798)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Mon, 21 May 2018 19:09:03 +0000 (12:09 -0700)
committerStephen Toub <stoub@microsoft.com>
Mon, 21 May 2018 19:09:03 +0000 (15:09 -0400)
commite340456c5de9f0407419046304efb8ccf415130f
treefad61ec34387f63299d7808b106d867c20e92442
parent98d9c9b3c7e01eef67d2a47b7c7d63d98feb4705
Fix test for Thread constructor taking stack size (dotnet/corefx#29798)

* Fix test for Thread constructor taking stack size

Leave some pages worth of buffer when allocating stack space. See https://github.com/dotnet/coreclr/issues/17170.

* Fix comment

* Fix comment

Commit migrated from https://github.com/dotnet/corefx/commit/0c9ecd37fd9c9404205f195bb9ce74cce7d4fd8d
src/libraries/System.Threading.Thread/tests/ThreadTests.cs