Split: Split libspinscale off from SMO.

Now we can probably begin using libspinscale in Couresilient
without worrying about excessive technical debt later on.
This commit is contained in:
2026-02-22 17:46:27 -04:00
parent 9361a43e40
commit 1c397dfeb5
22 changed files with 350 additions and 310 deletions
+29
View File
@@ -0,0 +1,29 @@
#include <iostream>
#include <mindComponent.h>
#include <marionette/marionette.h>
namespace smo {
void MindComponent::preJoltHook(sscl::PuppetThread &thr)
{
pthread_setname_np(pthread_self(), thr.name.c_str());
}
void MindComponent::handleLoopExceptionHook()
{
mrntt::mrntt.exceptionInd();
}
void MindComponent::preLoopHook()
{
std::cout << thread->name << ":defaultPuppetMain"
<< ": Entering event loop" << "\n";
}
void MindComponent::postLoopHook()
{
std::cout << thread->name << ":defaultPuppetMain"
<< ": Exited event loop" << "\n";
}
} // namespace smo