Skip to main content
set
std
1.97.0-nightly
(a5c825cd8 2026-04-14)
In std::
sys::
thread_
local::
key::
unix
std
::
sys
::
thread_local
::
key
::
unix
Function
set
Copy item path
Source
pub unsafe fn set(key:
pthread_key_t
, value:
*mut
u8
)
🔬
This is a nightly-only experimental API. (
thread_local_internals
)