zephyr::raw

Function k_thread_custom_data_set

source
pub unsafe extern "C" fn k_thread_custom_data_set(value: *mut c_void)
Expand description

@brief Set current thread’s custom data.

This routine sets the custom data for the current thread to @ value.

Custom data is not used by the kernel itself, and is freely available for a thread to use as it sees fit. It can be used as a framework upon which to build thread-local storage.

@param value New custom data value.