C# Class Fibrous.PoolFiber

Fiber that uses a thread pool for execution. Pool is used instead of thread, but messages are handled sequentially.
Inheritance: Fibrous.FiberBase
Afficher le fichier Open project: chrisa23/Fibrous Class Usage Examples

Méthodes publiques

Méthode Description
PoolFiber ( ) : System
PoolFiber ( IExecutor executor ) : System
PoolFiber ( IExecutor config, TaskFactory taskFactory ) : System
PoolFiber ( TaskFactory taskFactory ) : System
StartNew ( ) : IFiber
StartNew ( IExecutor exec ) : IFiber

Méthodes protégées

Méthode Description
InternalEnqueue ( System.Action action ) : void

Private Methods

Méthode Description
ClearActions ( ) : List
Flush ( ) : void

Method Details

InternalEnqueue() protected méthode

protected InternalEnqueue ( System.Action action ) : void
action System.Action
Résultat void

PoolFiber() public méthode

public PoolFiber ( ) : System
Résultat System

PoolFiber() public méthode

public PoolFiber ( IExecutor executor ) : System
executor IExecutor
Résultat System

PoolFiber() public méthode

public PoolFiber ( IExecutor config, TaskFactory taskFactory ) : System
config IExecutor
taskFactory TaskFactory
Résultat System

PoolFiber() public méthode

public PoolFiber ( TaskFactory taskFactory ) : System
taskFactory TaskFactory
Résultat System

StartNew() public static méthode

public static StartNew ( ) : IFiber
Résultat IFiber

StartNew() public static méthode

public static StartNew ( IExecutor exec ) : IFiber
exec IExecutor
Résultat IFiber