Moved Mutex.cs From src to shared (dotnet/coreclr#18320)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Fri, 8 Jun 2018 21:51:10 +0000 (14:51 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 8 Jun 2018 21:51:10 +0000 (14:51 -0700)
commit781c3a5848833ee1466845c62f5949e91d5c1574
tree8cf11148dabdb0a851fb3161d420c5bd5bca5cfe
parent427c4da6f96d5a49bd22884d0bfcf7972a75bdae
Moved Mutex.cs From src to shared (dotnet/coreclr#18320)

* Moved Mutex.cs to shared

* Reduced #ifdef in mutex.cs

* Moved windows specific Implementation and renamed mincore to kernal32

* safeWaitHandle changed to _waitHandle

* moved using statement out of buffer namespace

Commit migrated from https://github.com/dotnet/coreclr/commit/65fc6e978fc21a05878b59ffc016613d9e34bcf6
12 files changed:
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/src/System.Private.CoreLib/src/Microsoft/Win32/Win32Native.cs
src/coreclr/src/System.Private.CoreLib/src/System/Buffer.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/EventWaitHandle.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Mutex.cs [deleted file]
src/coreclr/src/System.Private.CoreLib/src/System/Threading/WaitHandle.cs
src/coreclr/src/vm/mscorlib.h
src/libraries/System.Private.CoreLib/src/Interop/Windows/Kernel32/Interop.Constants.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/Interop/Windows/Kernel32/Interop.Mutex.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/Mutex.Windows.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Threading/Mutex.cs [new file with mode: 0644]