diff options
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r-- | src/include/gnunet_scheduler_lib.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h index 110c0ce77..dee6eab27 100644 --- a/src/include/gnunet_scheduler_lib.h +++ b/src/include/gnunet_scheduler_lib.h | |||
@@ -327,8 +327,14 @@ GNUNET_SCHEDULER_add_with_priority (enum GNUNET_SCHEDULER_Priority prio, | |||
327 | 327 | ||
328 | 328 | ||
329 | /** | 329 | /** |
330 | * Schedule a new task to be run as soon as possible. The task | 330 | * Schedule a new task to be run as soon as possible. Note that this |
331 | * will be run with the DEFAULT priority. | 331 | * does not guarantee that this will be the next task that is being |
332 | * run, as other tasks with higher priority (or that are already ready | ||
333 | * to run) might get to run first. Just as with delays, clients must | ||
334 | * not rely on any particular order of execution between tasks | ||
335 | * scheduled concurrently. | ||
336 | * | ||
337 | * The task will be run with the DEFAULT priority. | ||
332 | * | 338 | * |
333 | * @param task main function of the task | 339 | * @param task main function of the task |
334 | * @param task_cls closure of @a task | 340 | * @param task_cls closure of @a task |