Skip to content

Tracking issue for getting pthread_t from JoinHandle #29791

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-api[DEPRECATED; DO NOT USE]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