Tracking Issue for Thread::{into_raw, from_raw}
#97523
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(thread_raw)]
This is a tracking issue for
Thread::into_raw
andThread::from_raw
.These functions allow conversions between a
Thread
and a raw pointer, which is useful in concurrent code as it allows storing aThread
in anAtomicPtr
.Public API
Steps / History
Thread::into_raw
andThread::from_raw
libs-team#200Thread::{into_raw, from_raw}
#97524Unresolved Questions
Thread
can always be represented as a pointer/integer?The text was updated successfully, but these errors were encountered: