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
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
Steps / History
ACP: rust-lang/libs-team#650
(Remember to update the
S-tracking-*label when checking boxes.)Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩