(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.

This commit is contained in:
Darkvater
2005-09-02 16:05:59 +00:00
parent acf442102a
commit a948fcb605
8 changed files with 69 additions and 24 deletions

5
unix.c
View File

@@ -531,8 +531,6 @@ bool InsertTextBufferClipboard(Textbuf *tb)
}
#ifdef ENABLE_NETWORK
// multi os compatible sleep function
#ifdef __AMIGA__
@@ -571,6 +569,3 @@ void CSleep(int milliseconds)
}
#endif // __AMIGA__
}
#endif /* ENABLE_NETWORK */