128
p->quitevt = CreateEvent (NULL, TRUE, FALSE, NULL);
125
138
p->profthr = CreateThread (0, 0, (DWORD (WINAPI *)(LPVOID)) profthr_func,
128
150
/* Set profiler thread priority to highest to be sure that it gets the
129
151
processor as soon it request it (i.e. when the Sleep terminate) to get
130
152
the next data out of the profile. */
132
154
SetThreadPriority (p->profthr, THREAD_PRIORITY_TIME_CRITICAL);