1c397dfeb5
Now we can probably begin using libspinscale in Couresilient without worrying about excessive technical debt later on.
24 lines
462 B
C++
24 lines
462 B
C++
#ifndef MIND_THREAD_H
|
|
#define MIND_THREAD_H
|
|
|
|
#include <memory>
|
|
#include <componentThread.h>
|
|
|
|
namespace smo {
|
|
|
|
class MindThread
|
|
: public sscl::PuppetThread
|
|
{
|
|
public:
|
|
MindThread(
|
|
sscl::ThreadId _id, sscl::PuppetThread::entryPointFn entryPoint,
|
|
sscl::PuppetComponent &component,
|
|
sscl::PuppetThread::preJoltHookFn preJoltFn = nullptr)
|
|
: sscl::PuppetThread(_id, std::move(entryPoint), component, preJoltFn)
|
|
{}
|
|
};
|
|
|
|
} // namespace smo
|
|
|
|
#endif // MIND_THREAD_H
|