UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IQueuedWork.h File Reference
#include "CoreTypes.h"
#include "Templates/RefCounting.h"

Go to the source code of this file.

Classes

class  IQueuedWorkInternalData
 
class  IQueuedWork
 

Enumerations

enum class  EQueuedWorkFlags : uint8 { None , DoNotRunInsideBusyWait = (1 << 0) , Count }
 

Functions

 ENUM_CLASS_FLAGS (EQueuedWorkFlags)
 

Enumeration Type Documentation

◆ EQueuedWorkFlags

enum class EQueuedWorkFlags : uint8
strong

Special flags that can be associated with queued work.

Enumerator
None 
DoNotRunInsideBusyWait 

Tells the scheduler if this task is allowed to run during another task's busy wait. The default should be true for most case but it is sometime useful to avoid it if this task is going to wait on another one, and that other task busy waits, this could cause a cycle that could deadlock. (i.e. T1 -> busywait -> picks T2 that then waits on T1 -> deadlock In this case, we can decide that T2 should never be picked up by busy waits.

Count 

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EQueuedWorkFlags  )