33 vThread(std::vector<BaseClass*> ent_vec,
float freq);
34 vThread(
void (*funcPtr)(
void),
float freq);
35 vThread(
void (*funcPtr)(
void),
unsigned int step,
float freq);
39 void stop(
void) {run =
false;}
48 void syncEntityVector(
void);
49 std::vector<BaseClass*> *
getEntityVec(
void) {
return entity_vector;}
54 static HANDLE createMutex();
55 static void destroyMutex(HANDLE mutex);
56 HANDLE getMutex(
void) {
return hvT_Mutex;}
58 static pthread_mutex_t *createMutex();
59 static void destroyMutex(pthread_mutex_t *mutex);
60 pthread_mutex_t *
getMutex(
void) {
return hvT_Mutex;}
63 void reportError(
const std::string &error);
66 static unsigned long getDelay(osg::Timer_t last_t,
float freq);
76 DWORD dwThreadId, dwThrdParam;
82 void (*voidFuncPtr)(void);