Remove busy waiting checks
authorlurchi <lurchi@strangeplace.net>
Mon, 4 Sep 2017 09:56:48 +0000 (11:56 +0200)
committerlurchi <lurchi@strangeplace.net>
Mon, 4 Sep 2017 09:56:48 +0000 (11:56 +0200)
commitb851ecf1aa048e51439e3be631cd19ca84e4dc5a
tree22e0a9f43d340e9e1ae16476fb4b1ba21ea4df62
parent652198e93fb05d301e6a8873b0364692f7f47ce4
Remove busy waiting checks

Busy waiting should never happen (at least the shutdown pipe is always
there for the driver to wait for).
When busy waiting happens, i.e. GNUNET_SCHEDULER_run_from_driver is
called without any task ready, it is a programming error (at least I
don't know any valid use case for busy waiting).
Hence, remove the busy waiting checks and let
GNUNET_SCHEDULER_run_from_driver return GNUNET_SYSERR instead in this
case.
src/util/scheduler.c