Function gnunet_sys::GNUNET_SCHEDULER_add_with_reason_and_priority[][src]

pub unsafe extern "C" fn GNUNET_SCHEDULER_add_with_reason_and_priority(
    task: GNUNET_SCHEDULER_TaskCallback,
    task_cls: *mut c_void,
    reason: GNUNET_SCHEDULER_Reason,
    priority: GNUNET_SCHEDULER_Priority
)

Continue the current execution with the given function. This is similar to the other “add” functions except that there is no delay and the reason code can be specified.

@param task main function of the task @param task_cls closure for @a task @param reason reason for task invocation @param priority priority to use for the task