Function arceos_posix_api::sys_pthread_key_create
source · pub unsafe fn sys_pthread_key_create(
key: *mut pthread_key_t,
_destr_function: Option<unsafe extern "C" fn(_: *mut c_void)>
) -> c_int
Available on crate features
musl
and multitask
only.Expand description
Allocate a specific key for a process shared by all threads.