Skip to content

Guarantee that thread-local storage destructors run before join() returns #127571

Open
@pvillela

Description

@pvillela

As discussed in #116237 (comment), this is already the implemented behaviour but it is not guaranteed. Unless there is a good reason not to, this guarantee should be made and documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-threadArea: `std::thread`A-thread-localsArea: Thread local storage (TLS)C-discussionCategory: Discussion or questions that doesn't represent real issues.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions