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

Function resolverstop

source/src/serverbrowser.cpp:82–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void resolverstop(resolverthread &rt)
83{
84 SDL_LockMutex(resolvermutex);
85 if(rt.query)
86 {
87 SDL_DetachThread(rt.thread);
88 rt.thread = SDL_CreateThread(resolverloop, "ResolverThread", &rt);
89 }
90 rt.query = NULL;
91 rt.starttime = 0;
92 SDL_UnlockMutex(resolvermutex);
93}
94
95void resolverclear()
96{

Callers 2

loopvFunction · 0.85
resolvercheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected