diff options
author | lurchi <lurchi@strangeplace.net> | 2017-08-23 15:45:52 +0200 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2017-08-23 15:45:52 +0200 |
commit | b5080c190338cc9031a9d81916828b0ddd855eb3 (patch) | |
tree | 2e91ff9ecb1a0a84b77e27f5d9c0f759f8bbf4de /src/include/gnunet_scheduler_lib.h | |
parent | 357181530f9089ee30ba88c55ed429ec58505357 (diff) | |
download | gnunet-b5080c190338cc9031a9d81916828b0ddd855eb3.tar.gz gnunet-b5080c190338cc9031a9d81916828b0ddd855eb3.zip |
GNUNET_SCHEDULER_check_lifeness not needed anymore
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r-- | src/include/gnunet_scheduler_lib.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h index 5f9389726..119f3c8ed 100644 --- a/src/include/gnunet_scheduler_lib.h +++ b/src/include/gnunet_scheduler_lib.h | |||
@@ -383,21 +383,6 @@ typedef int | |||
383 | 383 | ||
384 | 384 | ||
385 | /** | 385 | /** |
386 | * Check if the system has initiated shutdown. This means no tasks | ||
387 | * that prevent shutdown were present and all tasks added with | ||
388 | * #GNUNET_SCHEDULER_add_shutdown were run already. | ||
389 | * | ||
390 | * Can be used by external event loop implementations to decide | ||
391 | * whether to keep running or not. | ||
392 | * | ||
393 | * @return #GNUNET_YES if tasks which prevent shutdown exist | ||
394 | * #GNUNET_NO if the system has initiated shutdown | ||
395 | */ | ||
396 | int | ||
397 | GNUNET_SCHEDULER_check_lifeness (); | ||
398 | |||
399 | |||
400 | /** | ||
401 | * Initialize and run scheduler. This function will return when all | 386 | * Initialize and run scheduler. This function will return when all |
402 | * tasks have completed. On systems with signals, receiving a SIGTERM | 387 | * tasks have completed. On systems with signals, receiving a SIGTERM |
403 | * (and other similar signals) will cause #GNUNET_SCHEDULER_shutdown | 388 | * (and other similar signals) will cause #GNUNET_SCHEDULER_shutdown |