Changed registerThread to accept shared_ptrs to fix some issues with polymorphism.

This commit is contained in:
dario
2023-09-29 15:12:44 +02:00
parent 54b2e4e9cd
commit 1a9a96503e
8 changed files with 28 additions and 35 deletions

View File

@@ -8,6 +8,7 @@
#include <sta/tacos/thread.hpp>
#include <sta/debug/assert.hpp>
#include <sta/debug/debug.hpp>
#include <functional>
#include <cstring>
@@ -87,10 +88,6 @@ namespace sta
return std::strcmp(this->getName(), other.getName()) < 0;
}
void TacosThread::init(){}
void TacosThread::func(){}
TacosThread::~TacosThread(){}
} // namespace tacos