pub unsafe extern "C" fn k_mem_domain_add_thread(
domain: *mut k_mem_domain,
thread: *mut k_thread,
) -> i32
Expand description
@brief Add a thread into a memory domain.
Add a thread into a memory domain. It will be removed from whatever memory domain it previously belonged to.
@param domain The memory domain that the thread is going to be added into. @param thread ID of thread going to be added into the memory domain.
@return 0 if successful, fails otherwise.