Commit Graph

11 Commits (f5e3a27f6e0eed1779cbad9483ac3e76560facd9)

Author SHA1 Message Date
rubidium e48142c4db (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 82e98c2188 (svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows. 16 years ago
rubidium 202aeb8306 (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. 16 years ago
truebrain 546d1b7580 (svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason) 16 years ago
rubidium f80d8dbe0c (svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes. 16 years ago
truebrain e767b4f778 (svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations) 16 years ago
rubidium 4657ae97fc (svn r13411) -Codechange: remove the return value from the thread procs because it is never used. 16 years ago
rubidium a89f533e09 (svn r12945) -Fix: (small) memory leak when joining/exiting threads. 16 years ago
smatz 2d7430cf33 (svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does 16 years ago
rubidium d022d4af3d (svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable. 16 years ago