Create new threads suspended on Windows and WP to prevent a race condition

This commit is contained in:
Cameron Gutman
2014-04-06 20:53:39 -04:00
committed by Michelle Bergeron
parent cdf07e6905
commit 929487249d
2 changed files with 10 additions and 1 deletions

View File

@@ -40,6 +40,12 @@ CreateThread(
_In_ DWORD dwCreationFlags,
_Out_opt_ LPDWORD lpThreadId
);
DWORD
WINAPI
ResumeThread(
_In_ HANDLE hThread
);
#endif
int initializePlatformThreads(void);