namespace PThread\r
{\r
\r
+void Sleep(const long ms);\r
+\r
class Runnable;\r
\r
class Thread:public NonCopyable\r
static void *EntryPoint(void *pthis);\r
\r
pthread_t m_thread;\r
+ int m_threadnum;\r
bool m_running; // thread (object) is currently running\r
bool m_cancelled;\r
Runnable *m_runnable; // actual object that is being run\r
+ bool m_threadcleaned;\r
\r
};\r
\r