From c5ad5fd0f83b26d00ef567b215a7dcd5dd8394c9 Mon Sep 17 00:00:00 2001 From: Jeff Schwartz Date: Thu, 30 Mar 2017 13:41:39 -0700 Subject: [PATCH] Change necessary to enable standalonegc on server gc. Now CreateThread in gcenv.windows.cpp matches gcenv.os.cpp --- src/gc/windows/gcenv.windows.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gc/windows/gcenv.windows.cpp b/src/gc/windows/gcenv.windows.cpp index a636478..471018e 100644 --- a/src/gc/windows/gcenv.windows.cpp +++ b/src/gc/windows/gcenv.windows.cpp @@ -597,6 +597,9 @@ bool GCToOSInterface::CreateThread(GCThreadFunction function, void* param, GCThr ::SetThreadAffinityMask(gc_thread, (DWORD_PTR)1 << affinity->Processor); } + ResumeThread(gc_thread); + CloseHandle(gc_thread); + return true; } -- 2.7.4