src/thread.cpp
branchnoai
changeset 9723 eee46cb39750
parent 9574 698395509d12
child 9856 6a0dcee9f8e4
equal deleted inserted replaced
9722:ebf0ece7d8f6 9723:eee46cb39750
     3 /** @file thread.cpp */
     3 /** @file thread.cpp */
     4 
     4 
     5 #include "stdafx.h"
     5 #include "stdafx.h"
     6 #include "thread.h"
     6 #include "thread.h"
     7 #include "debug.h"
     7 #include "debug.h"
       
     8 #include "core/alloc_func.hpp"
     8 #include <stdlib.h>
     9 #include <stdlib.h>
     9 #include "helpers.hpp"
       
    10 
    10 
    11 #if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS)
    11 #if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS)
    12 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; }
    12 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; }
    13 void *OTTDJoinThread(OTTDThread *t) { return NULL; }
    13 void *OTTDJoinThread(OTTDThread *t) { return NULL; }
    14 void OTTDExitThread() { NOT_REACHED(); };
    14 void OTTDExitThread() { NOT_REACHED(); };