GetCurrentFiber

The GetCurrentFiber function returns the address of the current fiber.

PVOID GetCurrentFiber(VOID)

Parameters

This function has no parameters.

Return Values

The return value is the address of the currently running fiber.

Remarks

The CreateFiber and ConvertThreadToFiber functions return the fiber address when the fiber is created. The GetCurrentFiber function allows you to retrieve the address at any other time.

See Also

CreateFiber, ConvertThreadToFiber