Ticket #10174: 0001-asio_fix_strand_dispatch_win32.patch
File 0001-asio_fix_strand_dispatch_win32.patch, 490 bytes (added by , 8 years ago) |
---|
-
boost_1_55_0/boost/asio/detail/impl/strand_service.hpp
old new 56 56 Handler& handler) 57 57 { 58 58 // If we are already in the strand then the handler can run immediately. 59 if ( call_stack<strand_impl>::contains(impl))59 if (running_in_this_thread(impl)) 60 60 { 61 61 fenced_block b(fenced_block::full); 62 62 boost_asio_handler_invoke_helpers::invoke(handler, handler);