C# Class SpicyPixel.Threading.YieldToFiber

Yield execution to a specific fiber belonging to the same scheduler as the current fiber.
Inheritance: FiberInstruction
Show file Open project: spicypixel/concurrency-kit-cs Class Usage Examples

Public Methods

Method Description
YieldToFiber ( Fiber fiber ) : System

Initializes a new instance of the SpicyPixel.Threading.YieldToFiber class.

Method Details

YieldToFiber() public method

Initializes a new instance of the SpicyPixel.Threading.YieldToFiber class.
public YieldToFiber ( Fiber fiber ) : System
fiber Fiber /// The fiber to yield to. ///
return System