#include "common/global.hpp"
Go to the source code of this file.
Namespaces | |
nfd | |
Copyright (c) 2011-2015 Regents of the University of California. | |
nfd::detail | |
Functions | |
detail::SimulatorIo & | nfd::getGlobalIoService () |
Returns the global io_service instance for the calling thread. More... | |
detail::SimulatorIo & | nfd::getMainIoService () |
detail::SimulatorIo & | nfd::getRibIoService () |
Scheduler & | nfd::getScheduler () |
Returns the global Scheduler instance for the calling thread. More... | |
void | nfd::runOnMainIoService (const std::function< void()> &f) |
Run a function on the main io_service instance. More... | |
void | nfd::runOnRibIoService (const std::function< void()> &f) |
Run a function on the RIB io_service instance. More... | |
void | nfd::resetGlobalScheduler () |
Variables | |
static thread_local unique_ptr< Scheduler > | nfd::g_scheduler |