FReturnGraphTask is a task used to return flow control from a named thread back to the original caller of ProcessThreadUntilRequestReturn
更多...
#include <TaskGraphInterfaces.h>
FReturnGraphTask is a task used to return flow control from a named thread back to the original caller of ProcessThreadUntilRequestReturn
◆ FReturnGraphTask()
Constructor
- 参数
-
| InThreadToReturnFrom; | named thread to cause to return |
◆ DoTask()
Actually execute the task.
- 参数
-
| CurrentThread; | the thread we are running on |
| MyCompletionGraphEvent; | my completion event. Not always useful since at the end of DoWork, you can assume you are done and hence further tasks do not need you as a prerequisite. However, MyCompletionGraphEvent can be useful for passing to other routines or when it is handy to set up subsequents before you actually do work. |
◆ GetDesiredThread()
Retrieve the thread that this task wants to run on.
- 返回
- the thread that this task should run on.
该类的文档由以下文件生成: