Add more from the std
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
pub mod local;
|
||||
|
||||
pub use crate::sys::thread::*;
|
||||
pub use local::LocalKey;
|
||||
|
||||
// Implementation details used by the thread_local!{} macro.
|
||||
#[doc(hidden)]
|
||||
#[unstable(feature = "thread_local_internals", issue = "none")]
|
||||
pub mod local_impl {
|
||||
pub use super::local::thread_local_process_attrs;
|
||||
pub use crate::sys::thread_local::*;
|
||||
}
|
||||
|
||||
pub struct ThreadInit {
|
||||
pub handle: Thread,
|
||||
|
||||
Reference in New Issue
Block a user