Added blank worker thread

This commit is contained in:
2023-06-09 16:47:46 -04:00
parent a436c20037
commit c6558ac0b4
6 changed files with 94 additions and 5 deletions

View File

@@ -0,0 +1,26 @@
#include "WorkerRunnable.hpp"
#include "engineutil.hpp"
bool FWorkerRunnable::Init()
{
engineutil::RawPrint("WorkerRunnable::Init");
return true;
}
uint32 FWorkerRunnable::Run()
{
while (!StopRequested)
{
engineutil::RawPrint("WorkerRunnable::Run");
FPlatformProcess::Sleep(1.0);
}
engineutil::RawPrint("WorkerRunnable Done");
return 0;
}
void FWorkerRunnable::Stop()
{
StopRequested = true;
}