0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

mongos async: use two IO threads

This commit is contained in:
Mathias Stearn 2010-01-25 15:36:57 -05:00
parent ab09697687
commit 7eb1d29f1b

View File

@ -158,6 +158,7 @@ namespace mongo {
void run(){
cout << "AsyncMessageServer starting to listen on: " << _port << endl;
boost::thread other(boost::bind(&io_service::run, &_ioservice));
_ioservice.run();
cout << "AsyncMessageServer done listening on: " << _port << endl;
}