Skip to main content
set
std
1.96.0-nightly
(38c0de8dc 2026-02-28)
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
)