C# Class Helios.Concurrency.FiberFactory

Factory class for creating Fiber instances
Datei anzeigen Open project: helios-io/helios

Public Methods

Method Description
CreateFiber ( FiberMode mode = FiberMode.SingleThreaded ) : IFiber
CreateFiber ( IExecutor executor, FiberMode mode = FiberMode.SingleThreaded ) : IFiber
CreateFiber ( IExecutor executor, int numThreads ) : IFiber
CreateFiber ( int numThreads ) : IFiber

Method Details

CreateFiber() public static method

public static CreateFiber ( FiberMode mode = FiberMode.SingleThreaded ) : IFiber
mode FiberMode
return IFiber

CreateFiber() public static method

public static CreateFiber ( IExecutor executor, FiberMode mode = FiberMode.SingleThreaded ) : IFiber
executor IExecutor
mode FiberMode
return IFiber

CreateFiber() public static method

public static CreateFiber ( IExecutor executor, int numThreads ) : IFiber
executor IExecutor
numThreads int
return IFiber

CreateFiber() public static method

public static CreateFiber ( int numThreads ) : IFiber
numThreads int
return IFiber