diff options
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -3,12 +3,6 @@ #ifndef THREAD_H #define THREAD_H -/* - * DO NOT USE THREADS if you don't know what race conditions, mutexes, - * semaphores, atomic operations, etc. are or how to properly handle them. - * Ask somebody who has a clue. - */ - typedef struct Thread Thread; typedef void* (*ThreadFunc)(void*); @@ -16,4 +10,4 @@ typedef void* (*ThreadFunc)(void*); Thread* OTTDCreateThread(ThreadFunc, void*); void* OTTDJoinThread(Thread*); -#endif +#endif /* THREAD_H */ |