diff options
author | Darkvater <darkvater@openttd.org> | 2005-09-02 16:05:59 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-09-02 16:05:59 +0000 |
commit | a181446829c3de933ccccffcc652c0c7b19f9968 (patch) | |
tree | 770995fa006874ecf7f11983a589bd239a3e85a0 /functions.h | |
parent | ae356b641d0b208e7973ce9c30472909b75fb9af (diff) | |
download | openttd-a181446829c3de933ccccffcc652c0c7b19f9968.tar.xz |
(svn r2906) Fix some threaded saving problems. Now the thread only interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 3c4af9c3c..073a85517 100644 --- a/functions.h +++ b/functions.h @@ -276,4 +276,5 @@ int ttd_main(int argc, char* argv[]); void DeterminePaths(void); void bubblesort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); +void CSleep(int milliseconds); #endif /* FUNCTIONS_H */ |