X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fpthreadwrapper%2Fthread.h;h=7b5f38640d00bf1d5735412e7192de7f36bb9fc7;hb=df316253862dc50e8e5a790d9634ef90be37badb;hp=c1db10a514799d1433eec2773bd470d8cf2157bd;hpb=b9c3763a932cebaa015a27fe111017f6f34dfbaa;p=fms.git diff --git a/include/pthreadwrapper/thread.h b/include/pthreadwrapper/thread.h index c1db10a..7b5f386 100644 --- a/include/pthreadwrapper/thread.h +++ b/include/pthreadwrapper/thread.h @@ -8,6 +8,8 @@ namespace PThread { +void Sleep(const long ms); + class Runnable; class Thread:public NonCopyable @@ -33,6 +35,7 @@ private: bool m_running; // thread (object) is currently running bool m_cancelled; Runnable *m_runnable; // actual object that is being run + bool m_threadcleaned; };