Ticket #7552: asiohang.patch
File asiohang.patch, 590 bytes (added by , 10 years ago) |
---|
-
win_iocp_io_service.ipp
407 407 return 0; 408 408 } 409 409 410 // If we're not polling we need to keep going until we get a real handler. 411 if (block) 410 // If we're not polling we need to keep going until we get a real handler, 411 // unless we have been stopped. 412 if (block && ::InterlockedExchangeAdd(&stopped_, 0) == 0) 412 413 continue; 413 414 414 415 ec = boost::system::error_code();