$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Igor R (boost.lists_at_[hidden])
Date: 2008-05-28 10:42:27
> in the main(), the async_wait() will not be invoked until the io.run() is called.
>
> But inside the print() there is a async_wait() call.
> Why we don't need run() to trigger it?
The handler you supply to async_wait() will be invoked during the
io_service::run() cycle. Meanwhile it's just queued.