zephyr::raw

Function k_work_poll_init

source
pub unsafe extern "C" fn k_work_poll_init(
    work: *mut k_work_poll,
    handler: Option<unsafe extern "C" fn(_: *mut k_work)>,
)
Expand description

@brief Initialize a triggered work item.

This routine initializes a workqueue triggered work item, prior to its first use.

@param work Address of triggered work item. @param handler Function to invoke each time work item is processed.