Skip to content

Unclear safety of std::thread::catch_panic #25662

Closed
@tbu-

Description

@tbu-

If I get it correctly, this function cannot be safe as is, due to everyone in a thread implicitely having a reference to TLS.

Created this issue because I didn't want discussion about this to be lost in IRC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions