| 857 | sem_oldthreads.wait(); |
| 858 | if(ti) oldthreads.add((sl_threadinfo *)ti); |
| 859 | loopvrev(oldthreads) |
| 860 | { |
| 861 | if(oldthreads[i]->done) |
| 862 | { |
| 863 | SDL_WaitThread(oldthreads[i]->handle, NULL); |
| 864 | delete oldthreads.remove(i); |
| 865 | } |
| 866 | } |
| 867 | sem_oldthreads.post(); |
| 868 | } |
| 869 | } |
no test coverage detected