Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

reduce use of TLS by passing the Fiber.t to its function #3

Description

@c-cube

spawn : ('a Fiber.t -> 'a) -> 'a Fiber.t so that the fiber is directly in scope in its main function. This means operations like spawn_under or cancel etc. could take a fiber as argument instead of incurring the cost of a TLS lookup?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions