Changeset - r2287:6e83e0c73c53
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-08-05 20:18:08
tron@openttd.org
(svn r2811) Fix typos in r2810
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
thread.c
Show inline comments
 
@@ -17,7 +17,7 @@ void* OTTDJoinThread(Thread*) { return N
 

	
 
struct Thread {
 
	TID thread;
 
	ThradFunc func;
 
	ThreadFunc func;
 
	void* arg;
 
	void* ret;
 
};
 
@@ -98,7 +98,7 @@ void* OTTDJoinThread(Thread* t)
 

	
 
struct Thread {
 
	HANDLE thread;
 
	ThradFunc func;
 
	ThreadFunc func;
 
	void* arg;
 
	void* ret;
 
};
 
@@ -119,7 +119,7 @@ Thread* OTTDCreateThread(ThreadFunc func
 

	
 
	t->func = function;
 
	t->arg  = arg;
 
	t->thread = CreateThread(NULL, 0, Proxy, arg, 0, &dwThreadId);
 
	t->thread = CreateThread(NULL, 0, Proxy, t, 0, &dwThreadId);
 

	
 
	if (t->thread != NULL) {
 
		return t;
0 comments (0 inline, 0 general)