diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-30 18:11:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-30 18:11:02 +0000 |
commit | 7d8f30700625ba1a94cbdb66362d92943a447412 (patch) | |
tree | 9c1cb0e2ffea43b0ea4b0b3f91654d00b42e29c8 /src/include/gnunet_scheduler_lib.h | |
parent | 80b9c2cca2624272aaf9adbe792f007e8697e7ed (diff) | |
download | gnunet-7d8f30700625ba1a94cbdb66362d92943a447412.tar.gz gnunet-7d8f30700625ba1a94cbdb66362d92943a447412.zip |
-docu
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 |