C# (CSharp) SpicyPixel.Threading Namespace

Nested Namespaces

SpicyPixel.Threading.Tasks
SpicyPixel.Threading.Test

Сlasses

Name Description
ConcurrentBehaviour Convenience class that extends MonoBehavior to provide a Scheduler and TaskFactory for executing tasks on the behaviour instance.
Fiber A Fiber is a lightweight means of scheduling work that enables multiple units of processing to execute concurrently by co-operatively sharing execution time on a single thread. Fibers are also known as "micro-threads" and can be implemented using programming language facilities such as "coroutines".
FiberAbortException The exception that is thrown when a call is made to the Abort method. This class cannot be inherited.
FiberContinuation
FiberFactory A Fiber Factory for creating fibers with the same options.
FiberInstruction Represents a fiber instruction to be processed by a FiberScheduler.
FiberResult An instruction to stop fiber execution and set a result on the fiber.
FiberScheduler Schedules fibers for execution.
FiberSchedulerSynchronizationContext Fiber scheduler synchronization context to support task synchronization across schedulers or other synchronization models.
ObjectInstruction Wraps an object as an instruction
SharedConcurrentBehaviour
StopInstruction An instruction to terminate execution of the current fiber.
SystemCoroutine This static class exposes convenience coroutines that can be passed to a fiber or task.
SystemFiberScheduler This class is the system default implementation of a FiberScheduler and is capable of scheduling and executing fibers on the current thread.
UnityCoroutine This static class exposes convenience coroutines specific to Unity that can be passed to a fiber or task.
UnityFiberExtensions Extends Fiber for Unity
UnityFiberFactory Provides a fiber factory for Unity using the default UnityFiberScheduler.
UnityFiberInstruction Represents a fiber instruction to be processed by a FiberScheduler.
UnityFiberScheduler FiberScheduler that can execute fibers (yieldable coroutines) during the update cycle of a MonoBehaviour.
UnitySynchronizationContext Unity synchronization context.
YieldForSeconds A FiberInstruction to pause execution of a fiber for the specified duration.
YieldToAnyFiber An instruction to yield execution to any fiber.
YieldToFiber Yield execution to a specific fiber belonging to the same scheduler as the current fiber.
YieldUntilComplete Yield execution until the watched fiber on the same scheduler is complete.