MCPcopy Create free account
hub / github.com/assaultcube/AC / loopvrev

Function loopvrev

source/src/tools.cpp:859–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}

Callers 1

sl_detachthreadFunction · 0.70

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected