Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.ThreadPoolTaskScheduler Class Referencesealed

Static Public Member Functions

static TaskScheduler FromCurrentSynchronizationContext ()
 

Protected Member Functions

override bool TryExecuteTaskInline (Task task, bool taskWasPreviouslyQueued)
 
override IEnumerable< TaskGetScheduledTasks ()
 
bool TryExecuteTask (Task task)
 

Package Functions

 ThreadPoolTaskScheduler ()
 
override void QueueTask (Task task)
 
override bool TryDequeue (Task task)
 
override void NotifyWorkItemProgress ()
 
bool TryRunInline (Task task, bool taskWasPreviouslyQueued)
 
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 ()
 

Static Private Member Functions

static IEnumerable< TaskFilterTasksFromWorkItems (IEnumerable< object > tpwItems)
 

Private Attributes

volatile int m_taskSchedulerId
 

Static Private Attributes

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

Detailed Description

Definition at line 5 of file ThreadPoolTaskScheduler.cs.


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