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-20 00:34:23 +0300
committerTon Roosendaal <ton@blender.org>2006-02-20 00:34:23 +0300
commit21be45b66ebae2d5e7b01f6f8e837b40878529d9 (patch)
treeece5265e41b1202e83e8d0cc8c34c110fca6175b /source/blender/blenlib
parent1e953764105fca48decb82256ab5a87c34c67349 (diff)
Another attempt to solve linux issues.... now threads get killed in
end instead of using SDL_WaitThread from example code...
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 712a6529348..883e00e2f43 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_WaitThread(tslot->sdlthread, NULL);
+ SDL_KillThread(tslot->sdlthread);
tslot->sdlthread= NULL;
}
}