8 #ifndef _THREADMANAGER_H_
9 #define _THREADMANAGER_H_
11 typedef void* (*pthreadproc
)(void*);
17 ThreadManager(int cpu
);
20 void AddThread(pthreadproc pProc
, void* param
);
22 void SetTimer(float t
= 0.5);
24 void SetCPU(int count
);
27 vector
<pthreadproc
> m_vproc
;
28 vector
<void*> m_vparam
;