Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-02-24 02:12:33 +0300
committerTon Roosendaal <ton@blender.org>2006-02-24 02:12:33 +0300
commitd99d73ad0350506e939eb305ec3ba5bf654de6c4 (patch)
treefec68afde427901baab0448d1599c3ee8b0d2371 /source/blender/blenlib
parent1612f6b392674745be12f42316883916ea36dc4e (diff)
restored SDL_WaitThread() again, SDL_KillThread() is not OK.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c
index 883e00e2f43..712a6529348 100644
--- a/source/blender/blenlib/intern/threads.c
+++ b/source/blender/blenlib/intern/threads.c
@@ -170,7 +170,7 @@ void BLI_remove_thread(ListBase *threadbase, void *callerdata)
for(tslot= threadbase->first; tslot; tslot= tslot->next) {
if(tslot->callerdata==callerdata) {
tslot->callerdata= NULL;
- SDL_KillThread(tslot->sdlthread);
+ SDL_WaitThread(tslot->sdlthread, NULL);
tslot->sdlthread= NULL;
}
}