Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/IQueuedWork.h |
Include |
#include "Misc/IQueuedWork.h" |
class IQueuedWork
Interface for queued work objects.
This interface is a type of runnable object that requires no per thread initialization. It is meant to be used with pools of threads in an abstract way that prevents the pool from needing to know any details about the object being run. This allows queuing of disparate tasks and servicing those tasks with a generic thread pool.
Name | Description | |
---|---|---|
|
~IQueuedWork() |
Virtual destructor so that child implementations are guaranteed a chance to clean up any resources they allocated. |
Name | Description | ||
---|---|---|---|
|
Abandon() |
Tells the queued work that it is being abandoned so that it can do per object clean up as needed. |
|
|
DoThreadedWork() |
This is where the real thread work is done. |