| 28 | } |
| 29 | |
| 30 | void ThreadHelper::Start() |
| 31 | { |
| 32 | if (!tHandle) { |
| 33 | tHandle = CreateThread(NULL, 0, ThreadFunc, this, 0, NULL); |
| 34 | if (tHandle) |
| 35 | SetThreadPriority(tHandle, priority); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | DWORD WINAPI ThreadFunc(LPVOID lpParam) { |
| 40 | ThreadHelper* src = (ThreadHelper*)lpParam; |
nothing calls this directly
no outgoing calls
no test coverage detected