SpicyPixel.Threading.YieldToFiber Class Reference

Yield execution to a specific fiber belonging to the same scheduler as the current fiber. More...

+ Inheritance diagram for SpicyPixel.Threading.YieldToFiber:
+ Collaboration diagram for SpicyPixel.Threading.YieldToFiber:

Public Member Functions

 YieldToFiber (Fiber fiber)
 Initializes a new instance of the SpicyPixel.Threading.YieldToFiber class. More...
 

Properties

Fiber Fiber [get]
 Gets the fiber to yield to. More...
 

Additional Inherited Members

- Static Public Attributes inherited from SpicyPixel.Threading.FiberInstruction
static YieldToAnyFiber YieldToAnyFiber = YieldToAnyFiber.Instance
 An instruction to cause the current fiber to yield to any ready fiber. More...
 
static StopInstruction Stop = StopInstruction.Instance
 An instruction to terminate execution of the current fiber. More...
 
- Protected Member Functions inherited from SpicyPixel.Threading.FiberInstruction
 FiberInstruction ()
 Initializes a new instance of the FiberInstruction class. More...
 

Detailed Description

Yield execution to a specific fiber belonging to the same scheduler as the current fiber.

Definition at line 35 of file YieldToFiber.cs.

Constructor & Destructor Documentation

SpicyPixel.Threading.YieldToFiber.YieldToFiber ( Fiber  fiber)

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

Parameters
fiberThe fiber to yield to.

Definition at line 51 of file YieldToFiber.cs.

Property Documentation

Fiber SpicyPixel.Threading.YieldToFiber.Fiber
get

Gets the fiber to yield to.

The fiber to yield to.

Definition at line 43 of file YieldToFiber.cs.


The documentation for this class was generated from the following file: