Thread creation and destruction is now handled by the main loop.
Some modifications to the initialization code were also necessary to keep the system from deadlocking itself immediately; only subthreads may now call CreateThread or AssignTask. All threads are guaranteed to get a WaitThread () on them when they're finished now, which hopefully will stop thread ID leaking (bug #561). git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1311 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
Changes towards version 0.4:
|
||||
- Thread code refactoring: only the main thread will actually spawn
|
||||
threads, and thread IDs are properly recycled with SDL_WaitThead ()
|
||||
once they're done. (With luck, this will fix bug #561) -Michael
|
||||
- Sound code refactoring: core api is now virtualized,
|
||||
MixSDL is divided to generic mixer and driver entities - Mika
|
||||
- Optimized MixSDL mixing and resampling routines
|
||||
|
||||
Reference in New Issue
Block a user