diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-24 02:12:33 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-24 02:12:33 +0300 |
commit | d99d73ad0350506e939eb305ec3ba5bf654de6c4 (patch) | |
tree | fec68afde427901baab0448d1599c3ee8b0d2371 /source/blender/blenlib/intern/threads.c | |
parent | 1612f6b392674745be12f42316883916ea36dc4e (diff) |
restored SDL_WaitThread() again, SDL_KillThread() is not OK.
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-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 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; } } |