Make select thread more tolerant of problems when shutting down.

This commit is contained in:
chris_kohlhoff 2005-09-04 13:11:54 +00:00
parent fcaea2a02a
commit 851338b117

View File

@ -191,7 +191,7 @@ private:
except_op_queue_.dispatch_cancellations();
bool stop = false;
while (!stop)
while (!stop && !stop_thread_)
{
// Set up the descriptor sets.
fd_set_adapter read_fds;