src/thread_none.cpp
branchnoai
changeset 10171 d4397d599d78
parent 9857 7adb6a846add
child 10172 f93d3b7df6c8
equal deleted inserted replaced
10149:a273c164cfab 10171:d4397d599d78
     3 /** @file thread_none.cpp No-Threads-Available implementation of Threads */
     3 /** @file thread_none.cpp No-Threads-Available implementation of Threads */
     4 
     4 
     5 #include "stdafx.h"
     5 #include "stdafx.h"
     6 #include "thread.h"
     6 #include "thread.h"
     7 
     7 
     8 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) {
     8 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg)
       
     9 {
     9 	return NULL;
    10 	return NULL;
    10 }
    11 }
    11 
    12 
    12 void *OTTDJoinThread(OTTDThread *t) {
    13 void *OTTDJoinThread(OTTDThread *t)
       
    14 {
    13 	return NULL;
    15 	return NULL;
    14 }
    16 }
    15 
    17 
    16 void OTTDExitThread() {
    18 void OTTDExitThread()
       
    19 {
    17 	NOT_REACHED();
    20 	NOT_REACHED();
    18 }
    21 }