NFD: Redirecting nfd::scheduler to ns3::Simulator and getting rid of GlobalIo
diff --git a/NFD/daemon/mgmt/internal-face.cpp b/NFD/daemon/mgmt/internal-face.cpp
index 9fad328..f7ce65b 100644
--- a/NFD/daemon/mgmt/internal-face.cpp
+++ b/NFD/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