Boost Users :
Subject: [Boost-users] [asio] when to use io_service::post or deadline_timer::async_wait?
From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2009-03-11 04:32:40
After reading the referece docs I got the impression that
the only difference between io_service::post and deadline_timer::async_wait
is the fact that the former triggers execution immediately (after
the caller function returns?) while the latter waits until timer expires
before execution of the function object.
Is this really the only difference or is there any other issue
to be considered?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net