Ticket #10174: 0001-asio_fix_strand_dispatch_win32.patch

File 0001-asio_fix_strand_dispatch_win32.patch, 490 bytes (added by wberrier@…, 8 years ago)

strand dispatch workaround

  • boost_1_55_0/boost/asio/detail/impl/strand_service.hpp

    old new  
    5656    Handler& handler)
    5757{
    5858  // 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))
    6060  {
    6161    fenced_block b(fenced_block::full);
    6262    boost_asio_handler_invoke_helpers::invoke(handler, handler);