Files
integration/Source/Integration/WorkerRunnable.cpp

26 lines
410 B
C++
Raw Normal View History

2023-06-09 16:47:46 -04:00
#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;
}