Create new threads suspended on Windows and WP to prevent a race condition
This commit is contained in:
parent
cdf07e6905
commit
929487249d
2 changed files with 10 additions and 1 deletions
|
|
@ -40,6 +40,12 @@ CreateThread(
|
|||
_In_ DWORD dwCreationFlags,
|
||||
_Out_opt_ LPDWORD lpThreadId
|
||||
);
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
ResumeThread(
|
||||
_In_ HANDLE hThread
|
||||
);
|
||||
#endif
|
||||
|
||||
int initializePlatformThreads(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue