get_current_fiber


void* get_current_fiber(void)

This function obtains the address of the current fiber.

Returns

void*

The address of the current fiber.

Notes

The functions create_fiber or convert_thread_to_fiber return the address of the created fiber. This function allows for the determination of the address of the current fiber at any time.