diff options
| author | chai <chaifix@163.com> | 2019-03-27 22:18:14 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2019-03-27 22:18:14 +0800 |
| commit | 69f7d1bd745ed5680b9bc4e3cfdd882ff2a5ad26 (patch) | |
| tree | 729e563da8fea6cf8c5455f3afdb3c6ce0aecde4 /source/libs/asura-lib-utils/threading/thread_impl_std.h | |
| parent | 66c5fdc564dd892ed265132d6c1378dbe3cebcee (diff) | |
+threading
Diffstat (limited to 'source/libs/asura-lib-utils/threading/thread_impl_std.h')
| -rw-r--r-- | source/libs/asura-lib-utils/threading/thread_impl_std.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/source/libs/asura-lib-utils/threading/thread_impl_std.h b/source/libs/asura-lib-utils/threading/thread_impl_std.h index e69de29..0e7d3da 100644 --- a/source/libs/asura-lib-utils/threading/thread_impl_std.h +++ b/source/libs/asura-lib-utils/threading/thread_impl_std.h @@ -0,0 +1,43 @@ +#ifndef __ASURA_THREAD_STD_H__ +#define __ASURA_THREAD_STD_H__ + +#include "../utils_config.h" + +#if ASURA_THREAD_STD + +#include <windows.h> + +#include "thread.h" + +namespace AsuraEngine +{ + namespace Threading + { + + /// + /// Threadstd::threadʵ֡ + /// + class ThreadImplSTD : public ThreadImpl + { + public: + + ThreadImplSTD(); + ~ThreadImplSTD(); + + bool Start(Thread* thread, uint32 stacksize) override; + void Join() override; + void Kill() override; + + bool IsRunning() override; + bool IsCurrent() override; + + private: + + }; + + } +} + +#endif // #if ASURA_THREAD_STD + +#endif // __ASURA_THREAD_STD_H__
\ No newline at end of file |
