static void **ppvUserData;
/* Global flags. From empth_init parameter. */
-static int flags;
+static int global_flags;
/************************
empth_t *pThread = TlsGetValue(dwTLSIndex);
char buf[1024];
- if ((flags & EMPTH_PRINT) != 0) {
+ if ((global_flags & EMPTH_PRINT) != 0) {
/* Ticks are in milliseconds */
ulCurTick = GetTickCount();
ulTickAtStart = GetTickCount();
ppvUserData = ctx_ptr;
- flags = flags;
+ global_flags = flags;
dwTLSIndex = TlsAlloc();
/* Create the thread mutex sem. */