mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 23:19:09 +00:00
(svn r2807) Fix two major bugs in the threaded save code:
- Do not dereference a local variable which no longer exists; this lead to random crashes when saving - (Win32) Do not close a handle before it is used last There are still many major problems (race conditions and resulting memory corruption/crashes) left
This commit is contained in:
@@ -279,6 +279,5 @@ void DeterminePaths(void);
|
||||
|
||||
void bubblesort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *));
|
||||
bool CreateOTTDThread(void *func, void *param);
|
||||
void CloseOTTDThread(void);
|
||||
void JoinOTTDThread(void);
|
||||
#endif /* FUNCTIONS_H */
|
||||
|
Reference in New Issue
Block a user