Another attempt to solve linux issues.... now threads get killed in

end instead of using SDL_WaitThread from example code...
This commit is contained in:
2006-02-19 21:34:23 +00:00
parent 1e95376410
commit 21be45b66e

View File

@@ -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;
}
}