Function gnunet_sys::GNUNET_SCHEDULER_shutdown[][src]

pub unsafe extern "C" fn GNUNET_SCHEDULER_shutdown()

Request the shutdown of a scheduler. Marks all tasks awaiting shutdown as ready. Note that tasks scheduled with #GNUNET_SCHEDULER_add_shutdown() AFTER this call will be delayed until the next shutdown signal.