[ndnSIM] core: Redirecting nfd::scheduler to ns3::Simulator and getting rid of GlobalIo
diff --git a/daemon/mgmt/internal-face.cpp b/daemon/mgmt/internal-face.cpp
index 7569fb9..482ed39 100644
--- a/daemon/mgmt/internal-face.cpp
+++ b/daemon/mgmt/internal-face.cpp
@@ -25,7 +25,7 @@
#include "internal-face.hpp"
#include "core/logger.hpp"
-#include "core/global-io.hpp"
+#include "core/scheduler.hpp"
namespace nfd {
@@ -43,8 +43,8 @@
// Invoke .processInterest a bit later,
// to avoid potential problems in forwarding pipelines.
- getGlobalIoService().post(bind(&InternalFace::processInterest,
- this, interest.shared_from_this()));
+ scheduler::schedule(time::seconds(0),
+ bind(&InternalFace::processInterest, this, interest.shared_from_this()));
}
void