|
Boost Users : |
Subject: Re: [Boost-users] IOService.run()
From: David Kaplan (davkaplan_at_[hidden])
Date: 2010-03-22 10:08:19
>
>
> I have a question regarding the asio::deadline_timer , it seems I need to
> run the ioservice.run() all the time in order to update the timer, which is
> seems undesirable. Any idea how I can just start the timer and wait for the
> callback instead?
>
I was playing around with this today too. It seems that you only need to
call io_service::run() once (that will start the timer).
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