openttd updated to 1.5.0-beta2
--HG-- branch : openttd
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread_morphos.cpp 17339 2009-09-01 10:07:22Z rubidium $ */
|
||||
/* $Id: thread_morphos.cpp 26482 2014-04-23 20:13:33Z rubidium $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <proto/dos.h>
|
||||
#include <proto/exec.h>
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/**
|
||||
* avoid name clashes with MorphOS API functions
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread_none.cpp 26349 2014-02-16 21:37:05Z frosch $ */
|
||||
/* $Id: thread_none.cpp 26482 2014-04-23 20:13:33Z rubidium $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -12,6 +12,8 @@
|
||||
#include "../stdafx.h"
|
||||
#include "thread.h"
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/* static */ bool ThreadObject::New(OTTDThreadFunc proc, void *param, ThreadObject **thread)
|
||||
{
|
||||
if (thread != NULL) *thread = NULL;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread_os2.cpp 26353 2014-02-18 17:58:46Z frosch $ */
|
||||
/* $Id: thread_os2.cpp 27092 2014-12-24 17:17:18Z frosch $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <os2.h>
|
||||
#include <process.h>
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/**
|
||||
* OS/2 version for ThreadObject.
|
||||
*/
|
||||
@@ -36,7 +38,7 @@ public:
|
||||
param(param),
|
||||
self_destruct(self_destruct)
|
||||
{
|
||||
thread = _beginthread(stThreadProc, NULL, 32768, this);
|
||||
thread = _beginthread(stThreadProc, NULL, 1048576, this);
|
||||
}
|
||||
|
||||
/* virtual */ bool Exit()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread_pthread.cpp 26349 2014-02-16 21:37:05Z frosch $ */
|
||||
/* $Id: thread_pthread.cpp 26482 2014-04-23 20:13:33Z rubidium $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -14,6 +14,8 @@
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/**
|
||||
* POSIX pthread version for ThreadObject.
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread_win32.cpp 26353 2014-02-18 17:58:46Z frosch $ */
|
||||
/* $Id: thread_win32.cpp 26482 2014-04-23 20:13:33Z rubidium $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/**
|
||||
* Win32 thread version for ThreadObject.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user