C# Class UnityScheduler.UnityTaskScheduler, CShape6_Unity3D

Inheritance: TaskScheduler
Exibir arquivo Open project: iamchenxin/CShape6_Unity3D

Public Properties

Property Type Description
mainThreadQueue BlockingCollection

Public Methods

Method Description
ExecuteTask ( Task task ) : void

Protected Methods

Method Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Method Details

ExecuteTask() public method

public ExecuteTask ( Task task ) : void
task Task
return void

GetScheduledTasks() protected method

protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

QueueTask() protected method

protected QueueTask ( Task task ) : void
task Task
return void

TryExecuteTaskInline() protected method

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
return bool

Property Details

mainThreadQueue public_oe property

public BlockingCollection mainThreadQueue
return BlockingCollection