C# Class Helios.Concurrency.DedicatedThreadPool

An instanced, dedicated thread pool.
Inheritance: IDisposable
Afficher le fichier Open project: helios-io/helios Class Usage Examples

Méthodes publiques

Свойство Type Description
Workers WorkerQueue[]

Méthodes publiques

Méthode Description
DedicatedThreadPool ( DedicatedThreadPoolSettings settings ) : System
Dispose ( ) : void
Dispose ( bool isDisposing ) : void
QueueUserWorkItem ( System.Action work ) : bool

Private Methods

Méthode Description
RequestThread ( WorkerQueue unclaimedQueue, bool errorRecovery = false ) : PoolWorker
Shutdown ( ) : void

Method Details

DedicatedThreadPool() public méthode

public DedicatedThreadPool ( DedicatedThreadPoolSettings settings ) : System
settings DedicatedThreadPoolSettings
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( bool isDisposing ) : void
isDisposing bool
Résultat void

QueueUserWorkItem() public méthode

public QueueUserWorkItem ( System.Action work ) : bool
work System.Action
Résultat bool

Property Details

Workers public_oe property

public WorkerQueue[] Workers
Résultat WorkerQueue[]