GNUNET_CONTAINER_DLL_remove (pending_timeout_head,
pending_timeout_tail,
pos);
+ scheduler_driver->set_wakeup(scheduler_driver->cls,pending_timeout_head->timeout);
if (pending_timeout_last == pos)
pending_timeout_last = NULL;
queue_ready_task (pos);
GNUNET_CONTAINER_DLL_remove (pending_timeout_head,
pending_timeout_tail,
task);
+ scheduler_driver->set_wakeup(scheduler_driver->cls,pending_timeout_head->timeout);
if (task == pending_timeout_last)
pending_timeout_last = NULL;
}
GNUNET_CONTAINER_DLL_insert (pending_timeout_head,
pending_timeout_tail,
t);
+ scheduler_driver->set_wakeup(scheduler_driver->cls,pending_timeout_head->timeout);
}
else
{
GNUNET_CONTAINER_DLL_remove (pending_timeout_head,
pending_timeout_tail,
pos);
+ scheduler_driver->set_wakeup(scheduler_driver->cls,pending_timeout_head->timeout);
if (pending_timeout_last == pos)
pending_timeout_last = NULL;
queue_ready_task (pos);