Use platform specific implementation of GetCurrentProcessId (#23084)
commit841a1d49b7544ed101062a373b5aa8d5cb1454d5
authorMarek Safar <marek.safar@gmail.com>
Fri, 8 Mar 2019 07:27:54 +0000 (8 08:27 +0100)
committerMarek Safar <marek.safar@gmail.com>
Fri, 8 Mar 2019 08:50:42 +0000 (8 09:50 +0100)
tree34206c580f079bb926ca8ecf90d4a17399c34865
parent14b0f985def244ef4f8db4560841c7e69634a380
Use platform specific implementation of GetCurrentProcessId (#23084)

* Use platform specific implementation of GetCurrentProcessId

directly in shared location instead of relying on runtime export

* Move GetCurrentProcessId to Interop class

* Update ES_BUILD_STANDALONE build

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
netcore/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs