zephyr::raw

Function k_work_queue_thread_get

source
pub unsafe extern "C" fn k_work_queue_thread_get(
    queue: *mut k_work_q,
) -> *mut k_thread
Expand description

@brief Access the thread that animates a work queue.

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

@param queue pointer to the queue structure.

@return the thread associated with the work queue.