struct IThreadTask { };
IThreadTask.h
Tasks must implement this interface.
virtual ~IThreadTask();
virtual struct SThreadTaskInfo* GetTaskInfo() = 0;
Returns task info
virtual void OnUpdate() = 0;
virtual void Stop() = 0;
Called to indicate that this task must quit. Warning! can be called from different thread then OnUpdate call.