Add Windows implementation of vm.getpid()
Created attachment 310452 [details] Patch The original bug https://bugs.webkit.org/show_bug.cgi?id=163493 did not go for a windows implementation because of restrictions in getpid and _getpid. From MSDN https://docs.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps it appears that both _getpid and getpid should just use GetCurrentProcessId so getProcessId from ProcessID.h can be used since it calls that. Found this while trying to compile out JSCOnly on Windows. It fails on this file because PLATFORM(WIN) is used instead of OS(WINDOWS).
Comment on attachment 310452 [details] Patch LGTM. Did you mean to r? this patch?
Comment on attachment 310452 [details] Patch r=me
(In reply to Mark Lam from comment #3) > Comment on attachment 310452 [details] > Patch > > r=me Thanks for the review!
Comment on attachment 310452 [details] Patch Clearing flags on attachment: 310452 Committed r217011: <http://trac.webkit.org/changeset/217011>
All reviewed patches have been landed. Closing bug.