search for: r_initprofiling

Displaying 1 result from an estimated 1 matches for "r_initprofiling".

2001 Nov 23
0
eval.c: possible issue with profiling for Windows
I see a possible problem with the "wait" parameter for the profiler thread: static void R_InitProfiling(char * filename, int append, double dinterval) { int wait; Here is the (automatic) variable. HANDLE Proc = GetCurrentProcess(); .......... wait = interval/1000; if(!(ProfileEvent = CreateEvent(NULL, FALSE, FALSE, NULL)) || (_beginthread(ProfileThread, 0, &wait) == -1))...