Skip to content

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?

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