Add work item dumping support to SOS' ThreadPool command (dotnet/coreclr#20872)
authorStephen Toub <stoub@microsoft.com>
Thu, 8 Nov 2018 20:34:27 +0000 (15:34 -0500)
committerGitHub <noreply@github.com>
Thu, 8 Nov 2018 20:34:27 +0000 (15:34 -0500)
commit9d83efc65acdf9092ce3d9f6136c2f7650586021
tree6a1fce52b8a3bf909de83318a8c95559059d3936
parent0ded2c1d1297bb2d7e23912f67e456ce7fb10559
Add work item dumping support to SOS' ThreadPool command (dotnet/coreclr#20872)

Adds a -wi switch to the ThreadPool command that will enumerate all queues dumping out all found work items.

Commit migrated from https://github.com/dotnet/coreclr/commit/d793aa34a9f7f2bab8a1699456bc2047578a0a6d
src/coreclr/src/System.Private.CoreLib/src/System/Threading/ThreadPool.cs
src/coreclr/src/ToolBox/SOS/Strike/strike.cpp
src/libraries/System.Private.CoreLib/src/System/Collections/Concurrent/ConcurrentQueue.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Concurrent/ConcurrentQueueSegment.cs