Skip to content

Make it possible to compare threads #1435

Closed
@tomaka

Description

@tomaka

Objects of type Thread can't be compared. There's no way to know if you are still in the same thread as you were before.

I don't know if this should just be an implementation of Eq on Thread, or if a new ThreadId type would need to be created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions