Synchronize Task, Awaiter and ThreadPool implementation with CoreCLR (#6706)
authorJan Kotas <jkotas@microsoft.com>
Sat, 22 Dec 2018 06:49:21 +0000 (22:49 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sat, 22 Dec 2018 14:55:41 +0000 (06:55 -0800)
commit0f8e9ee7a47423852b6112006e90504bc60e28e5
treeba86180f278235fb2e9389a0bdae1df899aee8d9
parentade99874621685c28240e8827b7b6543553a9efd
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>
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs