Moved Semaphore.cs and Semaphore.Windows.cs to shared (dotnet/coreclr#18597)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Fri, 22 Jun 2018 01:39:23 +0000 (18:39 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Jun 2018 01:39:23 +0000 (18:39 -0700)
commit7f3136c50f73f25cfd498e289762517b01c3e45e
treefa9f6cbc7ec6ac5d2c94a1d5c7cc8dd836a322bb
parent8e2b58e167df7d42c45023c4da7d1eefc1c0ccd2
Moved Semaphore.cs and Semaphore.Windows.cs to shared (dotnet/coreclr#18597)

* TryOpenexistingworker and createsemaphore moved to semaphore.windows.cs

* Common code moved to verifyCounts and CreateMutexCore and then moved to semaphore.windows.cs

* CreateSemaphore merged with CreateSemaphore core

* Moving interop functions from win32Native to inteop.kernel32

* Moving the files to shared

* Minor Formating

Commit migrated from https://github.com/dotnet/coreclr/commit/84b6f1da3338df672347732a0ea5f7cf4a3e43cf
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/Threading/Semaphore.cs [deleted file]
src/libraries/System.Private.CoreLib/src/Interop/Windows/Kernel32/Interop.Constants.cs
src/libraries/System.Private.CoreLib/src/Interop/Windows/Kernel32/Interop.Semaphore.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/Semaphore.Windows.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Threading/Semaphore.cs [new file with mode: 0644]