#pragma once
#define threadDataDelayName _T("AUTOLOADER_LAPS")
#define threadDataDelayDefault 10 // every 10 seconds (default)
#define szthreadDataDelayDefault _T("10")
typedef struct _threadData {
static volatile bool bThreadToExecute ;
static volatile bool bWaitingForCommand ;
static struct _threadData *getThreadData () ;
static void stopThread () ;
protected:
static MThreadRetVal AsyncModuleThread (void *data) ;
static void AsyncModuleThreadEnded (void *data) ;
static bool Maya_InterlockedCompare (volatile int *variable, int compareValue) ;
static void WaitForAsyncThreads (int val) ;
} threadData ;