Moved SafeWaitHandle and cancellationToken to shared (dotnet/coreclr#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)
commit73a8005b69a6035b511473d485dc3f8b6c4d6b90
tree2037273663bf84ceb0d8bdd9a59e9e7f852e5a40
parentbe721b00e79045f620ee512bc7021497dfce4daa
Moved SafeWaitHandle and cancellationToken to shared (dotnet/coreclr#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

Commit migrated from https://github.com/dotnet/coreclr/commit/11c9d8590dc97b999e83c17dc992e886a6e9861b
12 files changed:
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/src/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs [deleted file]
src/coreclr/src/System.Private.CoreLib/src/Microsoft/Win32/Win32Native.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/CancellationToken.cs [deleted file]
src/coreclr/src/System.Private.CoreLib/src/System/Threading/CancellationTokenSource.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs [deleted file]
src/libraries/System.Private.CoreLib/src/Interop/Windows/Kernel32/Interop.CloseHandle.cs
src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeWaitHandle.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/CancellationToken.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs [new file with mode: 0644]