diff options
author | tron <tron@openttd.org> | 2005-08-05 08:24:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-05 08:24:12 +0000 |
commit | 484fae74a2ab4a500496eec7af36dd8e34df105e (patch) | |
tree | b50ada0cade250f81d3852f35d9bbe8bef601bae /functions.h | |
parent | 062472161ade0d5e5c725d543b402e004efc175e (diff) | |
download | openttd-484fae74a2ab4a500496eec7af36dd8e34df105e.tar.xz |
(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
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/functions.h b/functions.h index 6948a44d8..8537e6e13 100644 --- a/functions.h +++ b/functions.h @@ -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 */ |