Skip to content

Tracking issue for getting pthread_t from JoinHandle #29791

Closed
@alexcrichton

Description

@alexcrichton

This is a tracking issue for the thread_extensions feature in the standard library which allows acquiring a pthread_t from a JoinHandle on Unix. Some questions on this are:

  • Should this trait also be implemented for Thread? (e.g. should we store the id there)
  • Does it deserve its own trait or is a one-off JoinHandleExt ok?
  • If you can get a pthread_t from a Thread can you also get a HANDLE from one on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions