forked from mirror/OpenTTD
(svn r2417) - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai)
This commit is contained in:
2
win32.c
2
win32.c
@@ -2249,7 +2249,7 @@ bool CreateOTTDThread(void *func, void *param)
|
||||
{
|
||||
DWORD dwThreadId;
|
||||
hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, param, 0, &dwThreadId);
|
||||
SetThreadPriority(hThread, THREAD_PRIORITY_BELOW_NORMAL);
|
||||
SetThreadPriority(hThread, THREAD_PRIORITY_NORMAL);
|
||||
|
||||
return hThread != NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user