Don't Sleep(1) in some spin-wait loops (Fx) (dotnet/corefx#34288)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Wed, 2 Jan 2019 13:31:47 +0000 (05:31 -0800)
committerStephen Toub <stoub@microsoft.com>
Wed, 2 Jan 2019 13:31:47 +0000 (08:31 -0500)
commitb5e1c162450f3b15f9b74d4ef3fc2f7b720f0bdd
tree705ca5743e52d9eb90de17f59ea8d7515c349798
parent3bafb2682555a65f002701aea10dcbc05ac5a977
Don't Sleep(1) in some spin-wait loops (Fx) (dotnet/corefx#34288)

Fx counterpart to https://github.com/dotnet/coreclr/pull/21722

Commit migrated from https://github.com/dotnet/corefx/commit/4b6cc4f99e3af21525da967cfbba219b6620a51e
src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/BlockingCollection.cs
src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/ConcurrentStack.cs
src/libraries/System.Threading/src/System/Threading/Barrier.cs
src/libraries/System.Threading/src/System/Threading/CountdownEvent.cs