SpicyPixel.Threading.FiberInstruction Class Reference

Represents a fiber instruction to be processed by a FiberScheduler. More...

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

Static Public Attributes

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

 FiberInstruction ()
 Initializes a new instance of the FiberInstruction class. More...
 

Detailed Description

Represents a fiber instruction to be processed by a FiberScheduler.

Specific instructions understood by a scheduler are to be derived from this abstract type.

See also
YieldForSeconds, YieldToAnyFiber, YieldToFiber, YieldUntilComplete

Definition at line 43 of file FiberInstruction.cs.

Constructor & Destructor Documentation

SpicyPixel.Threading.FiberInstruction.FiberInstruction ( )
protected

Initializes a new instance of the FiberInstruction class.

Definition at line 58 of file FiberInstruction.cs.

Member Data Documentation

StopInstruction SpicyPixel.Threading.FiberInstruction.Stop = StopInstruction.Instance
static

An instruction to terminate execution of the current fiber.

Definition at line 53 of file FiberInstruction.cs.

YieldToAnyFiber SpicyPixel.Threading.FiberInstruction.YieldToAnyFiber = YieldToAnyFiber.Instance
static

An instruction to cause the current fiber to yield to any ready fiber.

Definition at line 48 of file FiberInstruction.cs.


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