Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.TaskScheduler Class Referenceabstract

Classes

class  SystemThreadingTasks_TaskSchedulerDebugView
 
struct  TaskSchedulerAwaiter
 

Static Public Member Functions

static TaskScheduler FromCurrentSynchronizationContext ()
 

Protected Member Functions

bool TryExecuteTaskInline (Task task, bool taskWasPreviouslyQueued)
 
IEnumerable< Task >? GetScheduledTasks ()
 
 TaskScheduler ()
 
bool TryExecuteTask (Task task)
 

Package Functions

void QueueTask (Task task)
 
bool TryRunInline (Task task, bool taskWasPreviouslyQueued)
 
virtual bool TryDequeue (Task task)
 
virtual void NotifyWorkItemProgress ()
 
void InternalQueueTask (Task task)
 
Task[] GetScheduledTasksForDebugger ()
 
TaskSchedulerAwaiter GetAwaiter ()
 

Static Package Functions

static void PublishUnobservedTaskException (object sender, UnobservedTaskExceptionEventArgs ueea)
 
static TaskScheduler[] GetTaskSchedulersForDebugger ()
 

Static Package Attributes

static int s_taskSchedulerIdCounter
 

Properties

virtual int MaximumConcurrencyLevel [get]
 
static TaskScheduler Default [get]
 
static TaskScheduler Current [get]
 
static ? TaskScheduler InternalCurrent [get]
 
int Id [get]
 

Events

static ? EventHandler< UnobservedTaskExceptionEventArgsUnobservedTaskException
 

Private Member Functions

void AddToActiveTaskSchedulers ()
 

Private Attributes

volatile int m_taskSchedulerId
 

Static Private Attributes

static ConditionalWeakTable< TaskScheduler, object > s_activeTaskSchedulers
 
static readonly TaskScheduler s_defaultTaskScheduler = new ThreadPoolTaskScheduler()
 

Detailed Description

Definition at line 9 of file TaskScheduler.cs.


The documentation for this class was generated from the following file: