Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.SynchronizationContextTaskScheduler 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

 SynchronizationContextTaskScheduler ()
 
override 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

override 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

readonly SynchronizationContext m_synchronizationContext
 
volatile int m_taskSchedulerId
 

Static Private Attributes

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

Detailed Description

Definition at line 5 of file SynchronizationContextTaskScheduler.cs.


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