Use ConcurrentQueue<T> in ThreadPool
authorStephen Toub <stoub@microsoft.com>
Tue, 31 Jan 2017 16:51:40 +0000 (11:51 -0500)
committerStephen Toub <stoub@microsoft.com>
Wed, 1 Feb 2017 14:59:58 +0000 (09:59 -0500)
commitbd8b2362c8650b39acf735a6d09fba8a3fe739e2
treebbdc40e2734d5e466dd1e89dd053281462c872ee
parent0b73485685c61b0e46585c93dd7cd5355c137b5f
Use ConcurrentQueue<T> in ThreadPool

Use the same ConcurrentQueue<T> now being used in corefx in ThreadPool instead of ThreadPool's custom queue implementation (which was close in design to the old ConcurrentQueue<T> implementation).

Commit migrated from https://github.com/dotnet/coreclr/commit/cba50e660a5e8073a820e7c55fce705cb5b973f6
src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs