mirror of
https://github.com/rust-lang/rust
synced 2024-10-04 15:50:51 +00:00
Rollup merge of #123589 - RalfJung:nowin, r=ChrisDenton
sys_common::thread_local_key: make a note that this is not used on Windows This just confused me for a while. I don't have the time to clean it up but I can at least leave a note for the next wary traveler.
This commit is contained in:
commit
e5bdd7ebc1
|
@ -1,4 +1,4 @@
|
|||
//! OS-based thread local storage
|
||||
//! OS-based thread local storage for non-Windows systems
|
||||
//!
|
||||
//! This module provides an implementation of OS-based thread local storage,
|
||||
//! using the native OS-provided facilities (think `TlsAlloc` or
|
||||
|
@ -11,6 +11,9 @@
|
|||
//! the OS-TLS key. The other is a type which does implement `Drop` and hence
|
||||
//! has a safe interface.
|
||||
//!
|
||||
//! Windows doesn't use this module at all; `sys::pal::windows::thread_local_key`
|
||||
//! gets imported in its stead.
|
||||
//!
|
||||
//! # Usage
|
||||
//!
|
||||
//! This module should likely not be used directly unless other primitives are
|
||||
|
|
Loading…
Reference in a new issue