25 #ifndef NFD_DAEMON_COMMON_GLOBAL_HPP
26 #define NFD_DAEMON_COMMON_GLOBAL_HPP
34 boost::asio::io_service&
42 boost::asio::io_service&
45 boost::asio::io_service&
70 resetGlobalIoService();
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...
void setMainIoService(boost::asio::io_service *mainIo)
void runOnMainIoService(const std::function< void()> &f)
Run a function on the main io_service instance.
boost::asio::io_service & getRibIoService()
boost::asio::io_service & getMainIoService()
boost::asio::io_service & getGlobalIoService()
Returns the global io_service instance for the calling thread.
void runOnRibIoService(const std::function< void()> &f)
Run a function on the RIB io_service instance.
Scheduler & getScheduler()
Returns the global Scheduler instance for the calling thread.
void setRibIoService(boost::asio::io_service *ribIo)