Show / Hide Table of Contents

Class ThreadPriorityTaskScheduler

Inheritance
System.Object
ThreadPriorityTaskScheduler
Implements
System.IDisposable
Namespace: Eco.Core.Utils.Threading
Assembly: Eco.Core.dll
Syntax
public sealed class ThreadPriorityTaskScheduler : TaskScheduler, IDisposable

Constructors

ThreadPriorityTaskScheduler(ThreadPriority, Int32, String)

Declaration
public ThreadPriorityTaskScheduler(ThreadPriority threadPriority, int poolSize = 0, string poolName = null)
Parameters
Type Name Description
System.Threading.ThreadPriority threadPriority
System.Int32 poolSize
System.String poolName

Fields

BelowNormal

Declaration
public static readonly ThreadPriorityTaskScheduler BelowNormal
Field Value
Type Description
ThreadPriorityTaskScheduler

Lowest

Declaration
public static readonly ThreadPriorityTaskScheduler Lowest
Field Value
Type Description
ThreadPriorityTaskScheduler

Methods

Dispose()

Declaration
public void Dispose()

GetScheduledTasks()

Declaration
protected override IEnumerable<Task> GetScheduledTasks()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task>

QueueTask(Task)

Declaration
protected override void QueueTask(Task task)
Parameters
Type Name Description
System.Threading.Tasks.Task task

TryExecuteTaskInline(Task, Boolean)

Declaration
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
Parameters
Type Name Description
System.Threading.Tasks.Task task
System.Boolean taskWasPreviouslyQueued
Returns
Type Description
System.Boolean

Implements

System.IDisposable

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾