version 0.1.10
[fms.git] / include / pthreadwrapper / thread.h
index 18e731e..6e51f73 100644 (file)
@@ -8,6 +8,8 @@
 namespace PThread\r
 {\r
 \r
+void Sleep(const long ms);\r
+\r
 class Runnable;\r
 \r
 class Thread:public NonCopyable\r
@@ -29,6 +31,7 @@ private:
        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