We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 087ae97 commit b1d1ad9Copy full SHA for b1d1ad9
library/std/src/sys_common/thread_local_key.rs
@@ -1,4 +1,4 @@
1
-//! OS-based thread local storage
+//! OS-based thread local storage for non-Windows systems
2
//!
3
//! This module provides an implementation of OS-based thread local storage,
4
//! using the native OS-provided facilities (think `TlsAlloc` or
@@ -11,6 +11,9 @@
11
//! the OS-TLS key. The other is a type which does implement `Drop` and hence
12
//! has a safe interface.
13
14
+//! Windows doesn't use this module at all; `sys::pal::windows::thread_local_key`
15
+//! gets imported in its stead.
16
+//!
17
//! # Usage
18
19
//! This module should likely not be used directly unless other primitives are
0 commit comments