| 80 | } |
| 81 | |
| 82 | void 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 | |
| 95 | void resolverclear() |
| 96 | { |
no outgoing calls
no test coverage detected