Skip to content

Tracking Issue for current_thread_id #147194

Open

Description

@jsimmons

Feature gate: #![feature(current_thread_id)]

This is a tracking issue for current_thread_id, which adds a fast-path for accessing a thread's own ThreadId.

Public API

// std::thread
pub fn current_id() -> ThreadId;

Steps / History

ACP: rust-lang/libs-team#650

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩

Activity

  1. added
    T-libs-api
    C-tracking-issue
    S-tracking-unimplemented
    on Sep 30, 2025
  2. removed
    S-tracking-unimplemented
    on Jan 28, 2026
  3. added
    T-libs
    and removed
    T-libs-api
    on Aug 12, 2026
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

    C-tracking-issueT-libs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions