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

Classes

class  DebugView
 

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

 ConcurrentExclusiveTaskScheduler (ConcurrentExclusiveSchedulerPair pair, int maxConcurrencyLevel, ProcessingMode processingMode)
 
override void QueueTask (Task task)
 
void ExecuteTask (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 ()
 

Package Attributes

readonly IProducerConsumerQueue< Taskm_tasks
 

Static Package Attributes

static int s_taskSchedulerIdCounter
 

Properties

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

Events

static ? EventHandler< UnobservedTaskExceptionEventArgsUnobservedTaskException
 

Private Member Functions

bool TryExecuteTaskInlineOnTargetScheduler (Task task)
 
void AddToActiveTaskSchedulers ()
 

Private Attributes

readonly ConcurrentExclusiveSchedulerPair m_pair
 
readonly int m_maxConcurrencyLevel
 
readonly ProcessingMode m_processingMode
 
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 43 of file ConcurrentExclusiveSchedulerPair.cs.


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