diff options
author | chai <chaifix@163.com> | 2019-03-30 11:59:35 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-30 11:59:35 +0800 |
commit | c270d033fa04873ee7a8925dbb00cae5edc4555c (patch) | |
tree | ee27a45c5b946b08dd7a726a925028f6ca3eabf1 /source/modules/asura-utils/threading/threadable.h | |
parent | 771df5c31cd5653467fd6e76c1a3e002ca39582c (diff) |
*misc
Diffstat (limited to 'source/modules/asura-utils/threading/threadable.h')
-rw-r--r-- | source/modules/asura-utils/threading/threadable.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/modules/asura-utils/threading/threadable.h b/source/modules/asura-utils/threading/threadable.h new file mode 100644 index 0000000..08f807d --- /dev/null +++ b/source/modules/asura-utils/threading/threadable.h @@ -0,0 +1,25 @@ +#ifndef __ASURA_THREADABLE_H__ +#define __ASURA_THREADABLE_H__ + +#include "../type.h" + +namespace AsuraEngine +{ + namespace Threading + { + + ASURA_ABSTRACT class Threadable + { + public: + + Threadable() {}; + virtual ~Threadable() {}; + + virtual int Process() = 0; + + }; + + } +} + +#endif
\ No newline at end of file |