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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user