Change Timer implementation on Unixes to use only one scheduling thread (dotnet/corec...
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Fri, 29 Mar 2019 13:53:35 +0000 (06:53 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 29 Mar 2019 16:00:29 +0000 (09:00 -0700)
commitef4d5393f712b25891737d64b12f468e5114dffb
tree69cb78b0ee2946dd2f33ada3f4df1a18bff42c90
parente5a94ff584bcda9f006b7d2d42d640f71a7383c2
Change Timer implementation on Unixes to use only one scheduling thread (dotnet/coreclr#7071)

* Change Timer implementation on Unixes to use only one scheduling thread

- Separated from https://github.com/dotnet/corert/pull/7066

* Address feedback from https://github.com/dotnet/corert/pull/7066

* Remove reference to s_lock

* Reduce work inside lock

* Move _id

* Fix duplicate timers in scheduled timer list, move info to TimerQueue

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/6e215e1faa8275c1468bcd059e29a530d2de0064
src/libraries/System.Private.CoreLib/src/System/Threading/TimerQueue.Portable.cs