Run ccnx interest and data callback in executor
Run scheduler task in executor
diff --git a/src/executor.h b/src/executor.h
index 54a0108..c8e6cb0 100644
--- a/src/executor.h
+++ b/src/executor.h
@@ -23,6 +23,7 @@
#define EXECUTOR_H
#include <boost/function.hpp>
+#include <boost/shared_ptr.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/locks.hpp>
@@ -83,4 +84,6 @@
volatile bool m_needStop;
int m_poolSize;
};
+
+typedef boost::shared_ptr<Executor> ExecutorPtr;
#endif // EXECUTOR_H