Move Timer to shared CoreLib partition. (#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)
commit307ec0b724c01aec62d93cf2046f6b671c3eeced
treee5216ff966e03c4d3611e741cbc64bf85e97177f
parentd1c1cc91a85c510c7b10461acb35b8c545fe2b07
Move Timer to shared CoreLib partition. (#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.
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs
src/System.Private.CoreLib/shared/System/Threading/Timer.cs [moved from src/System.Private.CoreLib/src/System/Threading/Timer.cs with 68% similarity]
src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs [new file with mode: 0644]