Moved SafeWaitHandle and cancellationToken to shared (#18662)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Wed, 27 Jun 2018 18:36:42 +0000 (11:36 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 27 Jun 2018 18:36:42 +0000 (11:36 -0700)
commit11c9d8590dc97b999e83c17dc992e886a6e9861b
tree35ec8b7aa93fe82b238a0a5c6105daf00508a759
parentb2959eda8e324fdf14e51def8fa2d27765532fff
Moved SafeWaitHandle and cancellationToken to shared (#18662)

* Moving SafeWaitHandle to shared

* Moved CancellationToken to shared

* _ remove from variable names

* Default change to Default(Token) and minor changes

* Fixing coreclr unix build

* moving semaphoreSlim to shared

* splitting safeWaitHandle to .windows and .unix
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs
src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs [moved from src/System.Private.CoreLib/src/System/Threading/CancellationToken.cs with 89% similarity]
src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs [moved from src/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs with 97% similarity]
src/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs [deleted file]
src/System.Private.CoreLib/src/Microsoft/Win32/Win32Native.cs
src/System.Private.CoreLib/src/System/Threading/CancellationTokenSource.cs