From e57177325f2b3f4d66598ff501760da0030e7dd6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 15 Feb 2020 12:25:06 +0100 Subject: [PATCH] better task ordering --- src/util/scheduler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 3d3e5216d..45a6b61e5 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c @@ -513,9 +513,9 @@ queue_ready_task (struct GNUNET_SCHEDULER_Task *task) { enum GNUNET_SCHEDULER_Priority p = check_priority (task->priority); - GNUNET_CONTAINER_DLL_insert (ready_head[p], - ready_tail[p], - task); + GNUNET_CONTAINER_DLL_insert_tail (ready_head[p], + ready_tail[p], + task); task->in_ready_list = GNUNET_YES; ready_count++; } -- 2.25.1