Fiber Class

Definition

Line 30 of System.Base/Fiber.cm

Constructors & Destructor

public nothrow Fiber()
public nothrow Fiber(Fiber&& that)
public suppress nothrow Fiber(const Fiber&)
public nothrow Fiber(const FiberFunction& function)
public nothrow Fiber(const FiberFunction& function, void* param)
public nothrow Fiber(ulong stackSize, const FiberFunction& function)
public nothrow Fiber(ulong stackSize, const FiberFunction& function, void* param)
public ~Fiber()

Member Functions

public static nothrow Fiber FromCurrentThread()
public inline nothrow void* Handle() const
public void SwitchTo()
public suppress nothrow void operator=(const Fiber&)

Member Variables

private void* handle
private bool main

Constructor& Destructor Details

Fiber Constructor

public nothrow Fiber()

Definition
Line 32 of System.Base/Fiber.cm


Fiber Constructor

public nothrow Fiber(Fiber&& that)

Definition
Line 64 of System.Base/Fiber.cm


Fiber Constructor

public suppress nothrow Fiber(const Fiber&)

Definition
Line 62 of System.Base/Fiber.cm


Fiber Constructor

public nothrow Fiber(const FiberFunction& function)

Definition
Line 36 of System.Base/Fiber.cm


Fiber Constructor

public nothrow Fiber(const FiberFunction& function, void* param)

Definition
Line 39 of System.Base/Fiber.cm


Fiber Constructor

public nothrow Fiber(ulong stackSize, const FiberFunction& function)

Definition
Line 42 of System.Base/Fiber.cm


Fiber Constructor

public nothrow Fiber(ulong stackSize, const FiberFunction& function, void* param)

Definition
Line 45 of System.Base/Fiber.cm


~Fiber Destructor

public ~Fiber()

Definition
Line 70 of System.Base/Fiber.cm


Member Function Details

FromCurrentThread Static Member Function

public static nothrow Fiber FromCurrentThread()

Definition
Line 84 of System.Base/Fiber.cm


Handle Member Function

public inline nothrow void* Handle()

Definition
Line 80 of System.Base/Fiber.cm


SwitchTo Member Function

public void SwitchTo()

Definition
Line 51 of System.Base/Fiber.cm


operator= Member Function

public suppress nothrow void operator=(const Fiber&)

Definition
Line 63 of System.Base/Fiber.cm