diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-20 00:34:23 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-20 00:34:23 +0300 |
commit | 21be45b66ebae2d5e7b01f6f8e837b40878529d9 (patch) | |
tree | ece5265e41b1202e83e8d0cc8c34c110fca6175b /source/blender/blenlib | |
parent | 1e953764105fca48decb82256ab5a87c34c67349 (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.c | 2 |
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; } } |