Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IQueuedWork.h File Reference
#include "CoreTypes.h"
#include "Templates/RefCounting.h"
+ Include dependency graph for IQueuedWork.h:
+ This graph shows which files directly or indirectly include this file:

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

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 

Definition at line 9 of file IQueuedWork.h.

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EQueuedWorkFlags )