C# 클래스 System.Threading.Tasks.Scheduler

상속: TaskScheduler, IScheduler
파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

공개 메소드들

메소드 설명
AddWork ( System.Threading.Tasks.Task t ) : void
Dispose ( ) : void
InhibitPulse ( ) : void
ParticipateUntil ( System.Threading.Tasks.Task task, Func predicate ) : bool
ParticipateUntil ( Func predicate ) : void
ParticipateUntil ( System.Threading.Tasks.Task task ) : void
PulseAll ( ) : void
Scheduler ( ) : System
Scheduler ( int maxWorker, int maxStackSize, ThreadPriority priority ) : System
UnInhibitPulse ( ) : void

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : System.Collections.Generic.IEnumerable
QueueTask ( System.Threading.Tasks.Task task ) : void
TryDequeue ( System.Threading.Tasks.Task task ) : bool
TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool

비공개 메소드들

메소드 설명
AreTasksFinished ( System.Threading.Tasks.Task parent ) : bool

메소드 상세

AddWork() 공개 메소드

public AddWork ( System.Threading.Tasks.Task t ) : void
t System.Threading.Tasks.Task
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetScheduledTasks() 보호된 메소드

protected GetScheduledTasks ( ) : System.Collections.Generic.IEnumerable
리턴 System.Collections.Generic.IEnumerable

InhibitPulse() 공개 메소드

public InhibitPulse ( ) : void
리턴 void

ParticipateUntil() 공개 메소드

public ParticipateUntil ( System.Threading.Tasks.Task task, Func predicate ) : bool
task System.Threading.Tasks.Task
predicate Func
리턴 bool

ParticipateUntil() 공개 메소드

public ParticipateUntil ( Func predicate ) : void
predicate Func
리턴 void

ParticipateUntil() 공개 메소드

public ParticipateUntil ( System.Threading.Tasks.Task task ) : void
task System.Threading.Tasks.Task
리턴 void

PulseAll() 공개 메소드

public PulseAll ( ) : void
리턴 void

QueueTask() 보호된 메소드

protected QueueTask ( System.Threading.Tasks.Task task ) : void
task System.Threading.Tasks.Task
리턴 void

Scheduler() 공개 메소드

public Scheduler ( ) : System
리턴 System

Scheduler() 공개 메소드

public Scheduler ( int maxWorker, int maxStackSize, ThreadPriority priority ) : System
maxWorker int
maxStackSize int
priority ThreadPriority
리턴 System

TryDequeue() 보호된 메소드

protected TryDequeue ( System.Threading.Tasks.Task task ) : bool
task System.Threading.Tasks.Task
리턴 bool

TryExecuteTaskInline() 보호된 메소드

protected TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool
task System.Threading.Tasks.Task
taskWasPreviouslyQueued bool
리턴 bool

UnInhibitPulse() 공개 메소드

public UnInhibitPulse ( ) : void
리턴 void