aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_scheduler.c')
-rw-r--r--src/util/test_scheduler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_scheduler.c b/src/util/test_scheduler.c
index 855b3a08a..d5a93ed7d 100644
--- a/src/util/test_scheduler.c
+++ b/src/util/test_scheduler.c
@@ -118,13 +118,13 @@ task5 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
118 GNUNET_SCHEDULER_add_read (tc->sched, 118 GNUNET_SCHEDULER_add_read (tc->sched,
119 GNUNET_NO, 119 GNUNET_NO,
120 GNUNET_SCHEDULER_PRIORITY_DEFAULT, 120 GNUNET_SCHEDULER_PRIORITY_DEFAULT,
121 GNUNET_SCHEDULER_NO_PREREQUISITE_TASK, 121 GNUNET_SCHEDULER_NO_TASK,
122 GNUNET_TIME_UNIT_FOREVER_REL, 122 GNUNET_TIME_UNIT_FOREVER_REL,
123 fds[0], &taskRd, cls); 123 fds[0], &taskRd, cls);
124 GNUNET_SCHEDULER_add_write (tc->sched, 124 GNUNET_SCHEDULER_add_write (tc->sched,
125 GNUNET_NO, 125 GNUNET_NO,
126 GNUNET_SCHEDULER_PRIORITY_DEFAULT, 126 GNUNET_SCHEDULER_PRIORITY_DEFAULT,
127 GNUNET_SCHEDULER_NO_PREREQUISITE_TASK, 127 GNUNET_SCHEDULER_NO_TASK,
128 GNUNET_TIME_UNIT_FOREVER_REL, 128 GNUNET_TIME_UNIT_FOREVER_REL,
129 fds[1], &taskWrt, cls); 129 fds[1], &taskWrt, cls);
130} 130}
@@ -144,7 +144,7 @@ task1 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
144 t2 = GNUNET_SCHEDULER_add_after (tc->sched, 144 t2 = GNUNET_SCHEDULER_add_after (tc->sched,
145 GNUNET_NO, 145 GNUNET_NO,
146 GNUNET_SCHEDULER_PRIORITY_IDLE, 146 GNUNET_SCHEDULER_PRIORITY_IDLE,
147 GNUNET_SCHEDULER_NO_PREREQUISITE_TASK, 147 GNUNET_SCHEDULER_NO_TASK,
148 &task2, cls); 148 &task2, cls);
149 /* t3 will go before t4: higher priority */ 149 /* t3 will go before t4: higher priority */
150 t4 = GNUNET_SCHEDULER_add_after (tc->sched, 150 t4 = GNUNET_SCHEDULER_add_after (tc->sched,