Function gnunet_sys::GNUNET_SCHEDULER_task_ready[][src]

pub unsafe extern "C" fn GNUNET_SCHEDULER_task_ready(
    task: *mut GNUNET_SCHEDULER_Task,
    fdi: *mut GNUNET_SCHEDULER_FdInfo
)

Function used by event-loop implementations to signal the scheduler that a particular @a task is ready due to an event specified in the et field of @a fdi.

This function will then queue the task to notify the application that the task is ready (with the respective priority).

@param task the task that is ready @param fdi information about the related FD