C# Класс SimpleConcurrency.Actors.FairThreadPoolScheduler

A scheduler using a provided FairThreadPool
Наследование: IScheduler
Показать файл Открыть проект

Открытые методы

Метод Описание
FairThreadPoolScheduler ( FairThreadPool pool ) : System

Standard constructor.

Schedule ( System.Action action ) : void

Queue the provided Action into the underlying FairThreadPool.

Описание методов

FairThreadPoolScheduler() публичный Метод

Standard constructor.
public FairThreadPoolScheduler ( FairThreadPool pool ) : System
pool FairThreadPool The FairThreadPool to use.
Результат System

Schedule() публичный Метод

Queue the provided Action into the underlying FairThreadPool.
public Schedule ( System.Action action ) : void
action System.Action Job to schedule.
Результат void