Libspinscale: begin splitting it off

This commit is contained in:
2025-12-26 01:18:39 -04:00
parent d5c2b61d4c
commit 45959f9d1c
67 changed files with 776 additions and 615 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef MIND_THREAD_H
#define MIND_THREAD_H
#include <memory>
#include <componentThread.h>
namespace smo {
class Mind; // Forward declaration
class MindThread
: public PuppetThread
{
public:
MindThread(ThreadId _id, Mind& parent)
: PuppetThread(_id),
parent(parent)
{
}
Mind& getParent() const { return parent; }
protected:
void handleException() override;
public:
Mind& parent;
};
} // namespace smo
#endif // MIND_THREAD_H