The following table shows the fiber functions and the purpose of each.
| Programming element | 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
Send Feedback on this topic to the authors