Windows: Call SetThreadStackGuarantee for all threads, not just main thread
This commit is contained in:
@@ -256,6 +256,7 @@ int CDECL main(int argc, char *argv[])
|
||||
argc = 1;
|
||||
}
|
||||
#endif
|
||||
PerThreadSetupInit();
|
||||
CrashLog::InitialiseCrashLog();
|
||||
|
||||
SetRandomSeed(time(nullptr));
|
||||
@@ -348,6 +349,10 @@ void SetSelfAsMainThread()
|
||||
#endif
|
||||
}
|
||||
|
||||
void PerThreadSetup() { }
|
||||
|
||||
void PerThreadSetupInit() { }
|
||||
|
||||
bool IsMainThread()
|
||||
{
|
||||
#if !defined(NO_THREADS)
|
||||
|
Reference in New Issue
Block a user