Moved Semaphore.cs and Semaphore.Windows.cs to shared (#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)
commit84b6f1da3338df672347732a0ea5f7cf4a3e43cf
tree93798b0a0ad82228aec057f5cc8c272c21228de8
parent538a51e593964ad34147e3143153885135412837
Moved Semaphore.cs and Semaphore.Windows.cs to shared (#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
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs [new file with mode: 0644]
src/System.Private.CoreLib/src/Microsoft/Win32/Win32Native.cs
src/System.Private.CoreLib/src/System/Threading/Semaphore.cs [deleted file]