diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-23 14:02:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-23 14:02:01 +0100 |
| commit | 93c3365a547fbb7467b6c47571c5a68e17b31e0c (patch) | |
| tree | 9c850dfaf6a63f8ddad26c5d2bced2244505cb8d /src/lib/server.h | |
| parent | c2709fbe5438da124b2d493cb714a6c58720cf5b (diff) | |
Untested first cut.
Diffstat (limited to 'src/lib/server.h')
| -rw-r--r-- | src/lib/server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/server.h b/src/lib/server.h index fac440a76..747081443 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -81,7 +81,8 @@ public: private: void worker_thread (); int process (boost::shared_ptr<boost::asio::ip::tcp::socket> socket); - + + boost::asio::io_service _io_service; std::vector<boost::thread *> _worker_threads; std::list<boost::shared_ptr<boost::asio::ip::tcp::socket> > _queue; boost::mutex _worker_mutex; |
