MCPcopy Create free account
hub / github.com/T-Troll/alienfx-tools / Start

Method Start

Common/ThreadHelper.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void 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
39DWORD WINAPI ThreadFunc(LPVOID lpParam) {
40 ThreadHelper* src = (ThreadHelper*)lpParam;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected