Ticket #8354: test.patch
File test.patch, 720 bytes (added by , 10 years ago) |
---|
-
task_io_service.ipp
25 25 #include <boost/asio/detail/task_io_service.hpp> 26 26 #include <boost/asio/detail/task_io_service_thread_info.hpp> 27 27 28 #include <boost/chrono.hpp> 29 #include <boost/thread.hpp> 30 28 31 #include <boost/asio/detail/push_options.hpp> 29 32 30 33 namespace boost { … … 448 451 // queue is empty and we're not polling, otherwise we want to return 449 452 // as soon as possible. 450 453 task_->run(false, this_thread.private_op_queue); 454 boost::this_thread::sleep_for(boost::chrono::seconds(3)); 451 455 } 452 456 453 457 o = op_queue_.front();