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();
75 #endif // NFD_DAEMON_COMMON_GLOBAL_HPP void runOnRibIoService(const std::function< void()> &f)
Run a function on the RIB io_service instance.
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 & getMainIoService()
Scheduler & getScheduler()
Returns the global Scheduler instance for the calling thread.
boost::asio::io_service & getRibIoService()
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void setRibIoService(boost::asio::io_service *ribIo)
boost::asio::io_service & getGlobalIoService()
Returns the global io_service instance for the calling thread.