17 #ifndef _IOMANAGER_HH_
18 #define _IOMANAGER_HH_
20 #include <boost/thread/thread.hpp>
21 #include <boost/asio.hpp>
42 public: boost::asio::io_service &GetIO();
45 public:
void IncCount();
48 public:
void DecCount();
52 public:
unsigned int GetCount()
const;
57 private: boost::asio::io_service *io_service;
60 private: boost::asio::io_service::work *work;
61 private:
unsigned int count;
63 private: boost::thread *thread;