IQueuedWork

Interface for queued work objects.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/IQueuedWork.h

Include

#include "Misc/IQueuedWork.h"

Syntax

class IQueuedWork

Remarks

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.

Destructors

Name Description

Public function Virtual

~IQueuedWork()

Virtual destructor so that child implementations are guaranteed a chance to clean up any resources they allocated.

Functions

Name Description

Public function

void

 

Abandon()

Tells the queued work that it is being abandoned so that it can do per object clean up as needed.

Public function

void

 

DoThreadedWork()

This is where the real thread work is done.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback