aboutsummaryrefslogtreecommitdiff
path: root/src/util/scheduler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-30 18:11:02 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-30 18:11:02 +0000
commit7d8f30700625ba1a94cbdb66362d92943a447412 (patch)
tree9c1cb0e2ffea43b0ea4b0b3f91654d00b42e29c8 /src/util/scheduler.c
parent80b9c2cca2624272aaf9adbe792f007e8697e7ed (diff)
downloadgnunet-7d8f30700625ba1a94cbdb66362d92943a447412.tar.gz
gnunet-7d8f30700625ba1a94cbdb66362d92943a447412.zip
-docu
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r--src/util/scheduler.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index 5b90d7e4f..7ef55cd86 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -1152,11 +1152,17 @@ GNUNET_SCHEDULER_add_delayed (struct GNUNET_TIME_Relative delay,
1152 1152
1153 1153
1154/** 1154/**
1155 * Schedule a new task to be run as soon as possible. The task 1155 * Schedule a new task to be run as soon as possible. Note that this
1156 * will be run with the DEFAULT priority. 1156 * does not guarantee that this will be the next task that is being
1157 * run, as other tasks with higher priority (or that are already ready
1158 * to run) might get to run first. Just as with delays, clients must
1159 * not rely on any particular order of execution between tasks
1160 * scheduled concurrently.
1161 *
1162 * The task will be run with the DEFAULT priority.
1157 * 1163 *
1158 * @param task main function of the task 1164 * @param task main function of the task
1159 * @param task_cls closure of task 1165 * @param task_cls closure of @a task
1160 * @return unique task identifier for the job 1166 * @return unique task identifier for the job
1161 * only valid until "task" is started! 1167 * only valid until "task" is started!
1162 */ 1168 */