25#ifndef NFD_DAEMON_COMMON_GLOBAL_HPP
26#define NFD_DAEMON_COMMON_GLOBAL_HPP
28#include "core/config.hpp"
30#include <boost/asio/io_context.hpp>
31#include <ndn-cxx/util/scheduler.hpp>
38boost::asio::io_context&
47boost::asio::io_context&
50boost::asio::io_context&
66resetGlobalIoService();
ndn::Scheduler & getScheduler()
Returns the global Scheduler instance for the calling thread.
void setMainIoService(boost::asio::io_context *mainIo)
boost::asio::io_context & getRibIoService()
void setRibIoService(boost::asio::io_context *ribIo)
boost::asio::io_context & getMainIoService()
boost::asio::io_context & getGlobalIoService()
Returns the global io_context instance for the calling thread.