zephyr::raw

Function k_work_user_init

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

@brief Initialize a userspace work item.

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

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