Move Timer to shared CoreLib partition. (dotnet/coreclr#22231)
authorFilip Navara <filip.navara@gmail.com>
Sun, 27 Jan 2019 19:12:30 +0000 (20:12 +0100)
committerJan Kotas <jkotas@microsoft.com>
Sun, 27 Jan 2019 19:12:30 +0000 (11:12 -0800)
commit70c64d71ea1df4da048830dbd890edd0fc6d54e7
tree022c0b67d9761b95c2608e10a4c116f06e2a5c82
parent7ce3d8f7e0643f20560266a1dd39e7bc96d64e00
Move Timer to shared CoreLib partition. (dotnet/coreclr#22231)

* Move Timer to shared CoreLib partition.

* Move SignalNoCallbacksRunning back to shared code, add static EventWaitHandle.Set.

* Remove AppDomain references from shared Timer code, reshuffle some code out of SetTimer in non-shared code.

* Change m_ prefix to match code style.

Commit migrated from https://github.com/dotnet/coreclr/commit/307ec0b724c01aec62d93cf2046f6b671c3eeced
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/Threading/EventWaitHandle.Windows.cs
src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs [moved from src/coreclr/src/System.Private.CoreLib/src/System/Threading/Timer.cs with 68% similarity]