Potential fix for inability to cancel Boost.Asio blocking accept on Linux

This commit is contained in:
athile 2010-07-06 10:03:49 -07:00
parent 5fe4313b95
commit 22c1314738
2 changed files with 39 additions and 8 deletions

View file

@ -45,6 +45,7 @@ namespace OMW { namespace CommandServer
void threadMain();
// Objects used to set up the listening server
int mPort;
boost::asio::io_service mIOService;
boost::asio::ip::tcp::acceptor mAcceptor;
boost::thread* mpThread;