aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_scheduler_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-24 22:04:41 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-24 22:04:41 +0000
commit70e6847205a9f9b9b660be2a173d5bc309eaa58d (patch)
treee2649865fbff3e7cbb2e85e381a6268b9aa01e0d /src/include/gnunet_scheduler_lib.h
parent0722614037876469e205546db5ab5fc892b5cf8c (diff)
downloadgnunet-70e6847205a9f9b9b660be2a173d5bc309eaa58d.tar.gz
gnunet-70e6847205a9f9b9b660be2a173d5bc309eaa58d.zip
quota management and better name for NO_TASK'
'
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r--src/include/gnunet_scheduler_lib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h
index aa5830942..d4013e630 100644
--- a/src/include/gnunet_scheduler_lib.h
+++ b/src/include/gnunet_scheduler_lib.h
@@ -54,7 +54,7 @@ typedef unsigned long long GNUNET_SCHEDULER_TaskIdentifier;
54 * Constant used to indicate that the scheduled 54 * Constant used to indicate that the scheduled
55 * task has no others as prerequisites. 55 * task has no others as prerequisites.
56 */ 56 */
57#define GNUNET_SCHEDULER_NO_PREREQUISITE_TASK ((GNUNET_SCHEDULER_TaskIdentifier) 0) 57#define GNUNET_SCHEDULER_NO_TASK ((GNUNET_SCHEDULER_TaskIdentifier) 0)
58 58
59/** 59/**
60 * Reasons why the schedule may have triggered 60 * Reasons why the schedule may have triggered
@@ -272,7 +272,7 @@ GNUNET_SCHEDULER_add_continuation (struct GNUNET_SCHEDULER_Handle *sched,
272 * @param prerequisite_task run this task after the task with the given 272 * @param prerequisite_task run this task after the task with the given
273 * task identifier completes (and any of our other 273 * task identifier completes (and any of our other
274 * conditions, such as delay, read or write-readyness 274 * conditions, such as delay, read or write-readyness
275 * are satisfied). Use GNUNET_SCHEDULER_NO_PREREQUISITE_TASK to not have any dependency 275 * are satisfied). Use GNUNET_SCHEDULER_NO_TASK to not have any dependency
276 * on completion of other tasks. 276 * on completion of other tasks.
277 * @param main main function of the task 277 * @param main main function of the task
278 * @param cls closure of task 278 * @param cls closure of task
@@ -302,7 +302,7 @@ GNUNET_SCHEDULER_add_after (struct GNUNET_SCHEDULER_Handle *sched,
302 * @param prerequisite_task run this task after the task with the given 302 * @param prerequisite_task run this task after the task with the given
303 * task identifier completes (and any of our other 303 * task identifier completes (and any of our other
304 * conditions, such as delay, read or write-readyness 304 * conditions, such as delay, read or write-readyness
305 * are satisfied). Use GNUNET_SCHEDULER_NO_PREREQUISITE_TASK to not have any dependency 305 * are satisfied). Use GNUNET_SCHEDULER_NO_TASK to not have any dependency
306 * on completion of other tasks. 306 * on completion of other tasks.
307 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever" 307 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever"
308 * @param main main function of the task 308 * @param main main function of the task
@@ -335,7 +335,7 @@ GNUNET_SCHEDULER_add_delayed (struct GNUNET_SCHEDULER_Handle *sched,
335 * @param prerequisite_task run this task after the task with the given 335 * @param prerequisite_task run this task after the task with the given
336 * task identifier completes (and any of our other 336 * task identifier completes (and any of our other
337 * conditions, such as delay, read or write-readyness 337 * conditions, such as delay, read or write-readyness
338 * are satisfied). Use GNUNET_SCHEDULER_NO_PREREQUISITE_TASK to not have any dependency 338 * are satisfied). Use GNUNET_SCHEDULER_NO_TASK to not have any dependency
339 * on completion of other tasks. 339 * on completion of other tasks.
340 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever" 340 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever"
341 * @param rfd read file-descriptor 341 * @param rfd read file-descriptor
@@ -368,7 +368,7 @@ GNUNET_SCHEDULER_add_read (struct GNUNET_SCHEDULER_Handle *sched,
368 * @param prerequisite_task run this task after the task with the given 368 * @param prerequisite_task run this task after the task with the given
369 * task identifier completes (and any of our other 369 * task identifier completes (and any of our other
370 * conditions, such as delay, read or write-readyness 370 * conditions, such as delay, read or write-readyness
371 * are satisfied). Use GNUNET_SCHEDULER_NO_PREREQUISITE_TASK to not have any dependency 371 * are satisfied). Use GNUNET_SCHEDULER_NO_TASK to not have any dependency
372 * on completion of other tasks. 372 * on completion of other tasks.
373 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever" 373 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever"
374 * @param wfd write file-descriptor 374 * @param wfd write file-descriptor
@@ -411,7 +411,7 @@ GNUNET_SCHEDULER_add_write (struct GNUNET_SCHEDULER_Handle *sched,
411 * @param prerequisite_task run this task after the task with the given 411 * @param prerequisite_task run this task after the task with the given
412 * task identifier completes (and any of our other 412 * task identifier completes (and any of our other
413 * conditions, such as delay, read or write-readyness 413 * conditions, such as delay, read or write-readyness
414 * are satisfied). Use GNUNET_SCHEDULER_NO_PREREQUISITE_TASK to not have any dependency 414 * are satisfied). Use GNUNET_SCHEDULER_NO_TASK to not have any dependency
415 * on completion of other tasks. 415 * on completion of other tasks.
416 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever" 416 * @param delay how long should we wait? Use GNUNET_TIME_UNIT_FOREVER_REL for "forever"
417 * @param nfds highest-numbered file descriptor in any of the two sets plus one 417 * @param nfds highest-numbered file descriptor in any of the two sets plus one