projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b881b
)
better task ordering
author
Christian Grothoff
<christian@grothoff.org>
Sat, 15 Feb 2020 11:25:06 +0000
(12:25 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 15 Feb 2020 11:25:06 +0000
(12:25 +0100)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 3d3e5216dbac4981e65862ddd14351a074fc1d5d..45a6b61e5edcf16598b9447c0cc0d690a8e84ca4 100644
(file)
--- 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++;
}