Fiber Functions (Compact 2013)

3/28/2014

The following table shows the fiber functions and the purpose of each.

Function

Description

ConvertThreadToFiber

Converts the current thread into a fiber.

CreateFiber

Allocates a fiber object, assigns it a stack, and sets up execution to begin at the specified start address, typically the fiber function.

DeleteFiber

Deletes a fiber.

FiberProc

Is an application-defined function used with the CreateFiber function.

GetCurrentFiber

Returns the address of the current fiber.

GetFiberData

Returns the fiber data associated with the current fiber.

SwitchToFiber

Schedules a fiber. The caller must be a fiber.

See Also

Reference

Fiber Reference