Synchronize Task, Awaiter and ThreadPool implementation with CoreCLR (#6706)
commit6069e0909ab3e742b25d6da2f91de4db54d3b535
authorJan Kotas <jkotas@microsoft.com>
Sat, 22 Dec 2018 06:49:21 +0000 (21 22:49 -0800)
committerMarek Safar <marek.safar@gmail.com>
Sat, 22 Dec 2018 10:29:22 +0000 (22 11:29 +0100)
treedf01f31d4418c6b3893bcb21a1ba88203b600d5c
parentedc045728c8c2f6ee3d1f6f7bf4ee32b9d490f32
Synchronize Task, Awaiter and ThreadPool implementation with CoreCLR (#6706)

Synchronized the code as much as possible with CoreCLR. The one major piece that I have excluded is tracing. I will look into doing that separately.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs