Skip to content

Task-local data should not require managed boxes #6004

Closed
@brson

Description

@brson

As written, using task local data at all, even to store owned data, involves allocating on the local heap, turning on the GC. Because of this, many tasks that otherwise would not use GC are forced to.

Rewrite the TLS implementation and interface to not require the local heap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions