$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] Synchronous/Asynchronous pattern
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-10 05:46:08
> What is the best way to "emulate" synchronous behaviour with asio? The
> thread running this iteration should not block, but do other work (at the
> io_service?) until the requested results are received.
Probably, I misunderstood you, but aren't these 2 requirements
contradicting? If you wish synchronous processing of messages, then
each iteration in your loop should block and wait until the i/o is
done.