zephyr::raw

Function k_work_user_queue_thread_get

source
pub unsafe extern "C" fn k_work_user_queue_thread_get(
    work_q: *mut k_work_user_q,
) -> *mut k_thread
Expand description

@brief Access the user mode thread that animates a work queue.

This is necessary to grant a user mode work queue thread access to things the work items it will process are expected to use.

@param work_q pointer to the user mode queue structure.

@return the user mode thread associated with the work queue.