Run ccnx interest and data callback in executor
Run scheduler task in executor
diff --git a/ccnx/ccnx-wrapper.h b/ccnx/ccnx-wrapper.h
index bdfdd2c..91e28c5 100644
--- a/ccnx/ccnx-wrapper.h
+++ b/ccnx/ccnx-wrapper.h
@@ -31,6 +31,7 @@
#include "ccnx-selectors.h"
#include "ccnx-closure.h"
#include "ccnx-pco.h"
+#include "executor.h"
namespace Ccnx {
@@ -97,6 +98,7 @@
bool m_running;
bool m_connected;
std::map<Name, InterestCallback> m_registeredInterests;
+ ExecutorPtr m_executor;
};
typedef boost::shared_ptr<CcnxWrapper> CcnxWrapperPtr;