diff options
author | tron <tron@openttd.org> | 2005-08-05 11:53:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-05 11:53:48 +0000 |
commit | bd48d67c28ba878fed75df6b276f92b6fab8ed01 (patch) | |
tree | 156ba2b5231e6c0ab0f9fe6830a7b60ec10af251 /thread.h | |
parent | f315c95fa1221441106f1e6e4f4a0f7849ccb4b4 (diff) | |
download | openttd-bd48d67c28ba878fed75df6b276f92b6fab8ed01.tar.xz |
(svn r2810) Threads may now return information when they terminate using a void*.
Also add the new files to the MSVC project files.
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,9 +11,9 @@ typedef struct Thread Thread; -typedef void (*ThreadFunc)(void*); +typedef void* (*ThreadFunc)(void*); Thread* OTTDCreateThread(ThreadFunc, void*); -void OTTDJoinThread(Thread*); +void* OTTDJoinThread(Thread*); #endif |